Function Module_admin_zones->get_form_fields

Definitions

adminzone/pages/modules/admin_zones.php

  • Get Tempcode for a zone adding/editing form.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$in_zone_editor boolean False N/A N/A Whether the zone editor will be used
$title SHORT_TEXT Blank (empty string) N/A N/A The zone title
$default_page ID_TEXT home N/A N/A The zones default page
$header_text SHORT_TEXT Blank (empty string) N/A N/A The header text
$theme ?ID_TEXT Null N/A N/A The theme (null: no override)
$require_session BINARY 0 N/A N/A Whether the zone requires a session for pages to be used
$zone ?ID_TEXT Null N/A N/A Name of the zone (null: unknown)

Return

  • A tuple: The input fields, Hidden fields, ...
  • Type: array
  • Set: N/A
  • Range: N/A