Function __global->metadata_get_fields

Definitions

sources/content2.php

  • Get template fields to insert into a form page, for manipulation of metadata.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

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 ID of the resource (null: adding)
$require_owner boolean True N/A N/A Whether to require owner to be filled in
$fields_to_skip array [] N/A N/A List of fields to NOT take in
$show_header integer 1 N/A N/A Whether to show a header (a METADATA_HEADER_* constant)

Return

  • Form page Tempcode fragment
  • Type: Tempcode
  • Set: N/A
  • Range: N/A