Function Resource_fs_base->_log_if_save_matchup

Definitions

sources/resource_fs_base_class.php

  • Helper function: detect if a resource did not save all the properties it was given.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$resource_type ?ID_TEXT No No required parameter N/A N/A The resource type (null: unknown)
$resource_id ~ID_TEXT No No required parameter N/A N/A The resource ID (false: was not added/edited)
$path string No No required parameter N/A N/A The path (blank: root / not applicable)
$properties array No No required parameter N/A N/A Properties

Preview

Code (PHP)

/**
 * Helper function: detect if a resource did not save all the properties it was given.
 *
 * @param  ?ID_TEXT $resource_type The resource type (null: unknown)
 * @param  ~ID_TEXT $resource_id The resource ID (false: was not added/edited)
 * @param  string $path The path (blank: root / not applicable)
 * @param  array $properties Properties
 */

protected function _log_if_save_matchup(?string $resource_type, $resource_id, string $path, array $properties)