Function __global->actual_metadata_get_fields

Definitions

sources/content2.php

  • Get field values for metadata.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$content_type ID_TEXT required parameter N/A N/A The type of resource (e.g. download)
$content_id ?ID_TEXT required parameter N/A N/A The old ID of the resource (null: adding)
$fields_to_skip array [] N/A N/A List of fields to NOT take in
$new_content_id ?ID_TEXT Null N/A N/A The new ID of the resource (null: not being renamed)

Return

  • A map of standard metadata fields (name to value). If adding, this map is accurate for adding. If editing, nulls mean do-not-edit or non-editable.
  • Type: array
  • Set: N/A
  • Range: N/A