AdminThemeFramework::allowPageInNav() AdminThemeFramework::allowPageInNav(Page $p) AdminThemeFramework::allowPageInNav(Page $p, $children = [], $permission = null) | bool | Allow the given Page to appear in admin theme navigation? | |
AdminThemeFramework::browserTitle | string | Optional custom browser title for this request (3.0.217+) | |
AdminThemeFramework::get() AdminThemeFramework::get(string $key) AdminThemeFramework::get(string $key) | bool int mixed null string | Override get() method from WireData to support additional properties | |
AdminThemeFramework::getAddNewActions() AdminThemeFramework::getAddNewActions() AdminThemeFramework::getAddNewActions() | array | Get “Add New” button actions | |
AdminThemeFramework::getAddNewLabel() AdminThemeFramework::getAddNewLabel() AdminThemeFramework::getAddNewLabel() | string | Get the translated “Add New” label that’s used in a couple spots | |
AdminThemeFramework::getBodyClass() AdminThemeFramework::getBodyClass() AdminThemeFramework::getBodyClass() | string | Get the classes that will be used in the <body class=''> tag | |
AdminThemeFramework::getBrowserTitle() AdminThemeFramework::getBrowserTitle() AdminThemeFramework::getBrowserTitle() | string | Get the browser <title> | |
AdminThemeFramework::getHeadJS() AdminThemeFramework::getHeadJS() AdminThemeFramework::getHeadJS() | string | Get Javascript that must be present in the document <head> | |
AdminThemeFramework::getHeadline() AdminThemeFramework::getHeadline() AdminThemeFramework::getHeadline() | string | Get the current page headline | |
AdminThemeFramework::getModuleConfigInputfields() AdminThemeFramework::getModuleConfigInputfields(InputfieldWrapper $inputfields) AdminThemeFramework::getModuleConfigInputfields(InputfieldWrapper $inputfields) | (nothing) | Module Configuration | |
AdminThemeFramework::getPageIcon() AdminThemeFramework::getPageIcon(Page $p) AdminThemeFramework::getPageIcon(Page $p) | mixed null string | Get icon used by the given page | |
AdminThemeFramework::getPageTitle() AdminThemeFramework::getPageTitle(Page $p) AdminThemeFramework::getPageTitle(Page $p) | string | Get navigation title for the given page, return blank if page should not be shown | |
AdminThemeFramework::getPrimaryNavArray() AdminThemeFramework::getPrimaryNavArray() AdminThemeFramework::getPrimaryNavArray() | array | Return nav array of primary navigation | |
AdminThemeFramework::getUserNavArray() AdminThemeFramework::getUserNavArray() AdminThemeFramework::getUserNavArray() | array | Get navigation items for the “user” menu | |
AdminThemeFramework::includeFile() AdminThemeFramework::includeFile(string $basename) AdminThemeFramework::includeFile(string $basename, array $vars = []) | (nothing) | Include an admin theme file | |
AdminThemeFramework::includeInitFile() AdminThemeFramework::includeInitFile() AdminThemeFramework::includeInitFile() | (nothing) | Include the admin theme init file | |
AdminThemeFramework::init() AdminThemeFramework::init() AdminThemeFramework::init() | (nothing) | Initialize and attach hooks | |
AdminThemeFramework::isEditor | bool | | |
AdminThemeFramework::isLoggedIn | bool | | |
AdminThemeFramework::isModal | bool string | | |
AdminThemeFramework::isSuperuser | bool | | |
AdminThemeFramework::moduleToNavArray() AdminThemeFramework::moduleToNavArray($module, Page $p) AdminThemeFramework::moduleToNavArray($module, Page $p) | array | Get navigation array from a Process module | |
AdminThemeFramework::pageToNavArray() AdminThemeFramework::pageToNavArray(Page $p) AdminThemeFramework::pageToNavArray(Page $p) | array null | Get a navigation array the given Page, or null if page not allowed in nav | |
| mixed string | Render an extra markup region | |
AdminThemeFramework::renderIcon() AdminThemeFramework::renderIcon(string $icon) AdminThemeFramework::renderIcon(string $icon, bool $fw = false) | string | Render markup for a font-awesome icon | |
AdminThemeFramework::renderNavIcon() AdminThemeFramework::renderNavIcon(string $icon) AdminThemeFramework::renderNavIcon(string $icon) | string | Render markup for a font-awesome icon that precedes a navigation label | |
AdminThemeFramework::renderNotices() AdminThemeFramework::renderNotices($notices) AdminThemeFramework::renderNotices($notices, array $options = []) | string array | Render runtime notices div#notices | |
AdminThemeFramework::setCustomTemplatePath() AdminThemeFramework::setCustomTemplatePath(string $path) AdminThemeFramework::setCustomTemplatePath(string $path) | (nothing) | Set custom path for admin theme templates | |
AdminThemeFramework::testNotices() AdminThemeFramework::testNotices() AdminThemeFramework::testNotices() | bool | Test all notice types | |
AdminThemeFramework::useAsLogin | bool int | | |
AdminThemeFramework::wired() AdminThemeFramework::wired() AdminThemeFramework::wired() | (nothing) | | |