Function Resource_fs_base->_custom_fields_save

Definitions

sources/resource_fs_base_class.php

  • Save custom properties.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type ID_TEXT No No required parameter N/A N/A The resource type
$id ID_TEXT No No required parameter N/A N/A The content ID
$filename ID_TEXT No No required parameter N/A N/A Filename
$label LONG_TEXT No No required parameter N/A N/A Resource label
$properties array No No required parameter N/A N/A Properties to save

Preview

Code (PHP)

/**
 * Save custom properties.
 *
 * @param  ID_TEXT $type The resource type
 * @param  ID_TEXT $id The content ID
 * @param  ID_TEXT $filename Filename
 * @param  LONG_TEXT $label Resource label
 * @param  array $properties Properties to save
 */

protected function _custom_fields_save(string $type, string $id, string $filename, string $label, array $properties)