The do-next manager for after content management.
tempcode
do_next_manager
(tempcode $title, ?ID_TEXT $page, ID_TEXT $zone, tempcode $completion_text)
-
tempcode
$title: The title (output of get_page_title)
-
?ID_TEXT
$page: The name of the page just handled (NULL: none)
-
ID_TEXT
$zone: The name of the zone just handled (blank: none/welcome-zone)
-
tempcode
$completion_text: The text to show (blank: default)
The UI to choose a page to edit.
tempcode
ed
()
The actualiser to export a comcode page.
tempcode
export
()
Find the filebase-relative path of a Comcode page. Allows override via restore_from parameter.
PATH
find_comcode_page
(LANGUAGE_NAME $lang, ID_TEXT $file, ID_TEXT $zone)
-
LANGUAGE_NAME
$lang: The language most preferable
-
ID_TEXT
$file: The page name
-
ID_TEXT
$zone: The zone
Get all pages.
array
get_comcode_files_array
(LANGUAGE_NAME $lang)
-
LANGUAGE_NAME
$lang: The language we are searching for pages of
Get a map of page names to paths, under the given specifications.
array
get_comcode_revisions
(ID_TEXT $zone, PATH $subdir, string $find_for, [boolean $also_checking_base = false])
-
ID_TEXT
$zone: The zone we are searching in
-
PATH
$subdir: The subdirectory to search for pages in
-
string
$find_for: The file stub to find for
-
boolean
$also_checking_base: Whether we are doing a multi-site check on the base directory
Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular specific-permission-overide finder function.
array
get_sp_overrides
()
Standard modular info function.
?array
info
()
Standard modular install function.
void
install
([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
-
?integer
$upgrade_from: What version we're upgrading from (NULL: new install)
-
?integer
$upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
Standard modular run function.
tempcode
run
()
Standard modular uninstall function.
void
uninstall
()
The UI to edit a page.
tempcode
_ed
()
The actualiser to edit a comcode page.
tempcode
__ed
()