The UI to choose a banner to view.
tempcode
choose_banner
()
Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular page-link finder function (does not return the main entry-points that are not inside the tree).
?array
get_page_links
([?integer $max_depth = NULL], [boolean $require_permission_support = false], [?string $start_at = NULL], [boolean $dont_care_about_categories = false])
-
?integer
$max_depth: The number of tree levels to computer (NULL: no limit)
-
boolean
$require_permission_support: Whether to not return stuff that does not support permissions (unless it is underneath something that does).
-
?string
$start_at: Position to start at in the tree. Does not need to be respected. (NULL: from root)
-
boolean
$dont_care_about_categories: Whether to avoid returning categories.
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 view a banner.
tempcode
view_banner
()