The UI to add a zone.
tempcode
add_zone
()
The UI to choose a zone to edit using the zone editor.
tempcode
editor
()
The UI to choose a zone to edit.
tempcode
edit_zone
([string $type = '_edit'], [?tempcode $title = NULL])
-
string
$type: The follow-on type
-
?tempcode
$title: The title to use (NULL: the EDIT_ZONE title)
Standard modular entry-point finder function.
?array
get_entry_points
()
Get tempcode for a zone adding/editing form.
array
get_form_fields
([boolean $in_zone_editor = false], [SHORT_TEXT $title = ''], [ID_TEXT $default_page = 'start'], [SHORT_TEXT $header_text = ''], [?ID_TEXT $theme = NULL], [BINARY $wide = 0], [BINARY $require_session = 0], [BINARY $displayed_in_menu = 1], [?ID_TEXT $zone = NULL])
-
boolean
$in_zone_editor: Whether the zone editor will be used
-
SHORT_TEXT
$title: The zone title
-
ID_TEXT
$default_page: The zones default page
-
SHORT_TEXT
$header_text: The header text
-
?ID_TEXT
$theme: The theme (NULL: no override)
-
BINARY
$wide: Whether the zone is wide
-
BINARY
$require_session: Whether the zone requires a session for pages to be used
-
BINARY
$displayed_in_menu: Whether the zone in displayed in the menu coded into some themes
-
?ID_TEXT
$zone: Name of the zone (NULL: unknown)
Standard modular info function.
?array
info
()
The do-next manager for before content management.
tempcode
misc
()
Standard modular run function.
tempcode
run
()
Set zone access permissions from info in the POST request.
void
set_permissions
(ID_TEXT $zone)
-
ID_TEXT
$zone: The zone that we're setting permissions for
Standard modular uninstall function.
void
uninstall
()
The actualiser to add a zone.
tempcode
_add_zone
()
The UI for the zone editor.
tempcode
_editor
()
The UI to edit a zone.
tempcode
_edit_zone
()
The actualiser to edit a zone (via zone editor).
tempcode
__editor
()
The actualiser to edit a zone.
tempcode
__edit_zone
()