$dashboardIdent
$dashboardIdent : string
Object Edit Template
title
(Translation) - The page titlesubtitle
(Translation) The page subtitleshowHeaderMenu
(bool) - Display the header menu or notheaderMenu
(iterator) - The header menu datashowFooterMenu
(bool) - Display the footer menu or notfooterMenu
(iterator) - The footer menu data$adminConfig : \Charcoal\Admin\Config
Store a reference to the admin configuration.
setDashboardIdent(string $dashboardIdent) : \Charcoal\Admin\Ui\DashboardContainerInterface
string | $dashboardIdent | The dashboard identifier. |
If the argument is not a string.
Chainable
setDashboardConfig(mixed $dashboardConfig) : \Charcoal\Admin\Ui\DashboardContainerInterface
mixed | $dashboardConfig | The dasboard configuration. |
Chainable
setObjType(string $objType) : \Charcoal\Admin\Ui\ObjectContainerInterface
Set the object type.
string | $objType | The object type. |
If provided argument is not of type 'string'.
Chainable
setObjId(string|\Charcoal\Admin\Ui\numeric $objId) : \Charcoal\Admin\Ui\ObjectContainerInterface
Set the object ID.
string|\Charcoal\Admin\Ui\numeric | $objId | The object ID to load. |
If provided argument is not of type 'scalar'.
Chainable
setObjBaseClass(string $objBaseClass) : \Charcoal\Admin\Ui\ObjectContainerInterface
string | $objBaseClass | The base class. |
If provided argument is not of type 'string'.
Chainable
init(\Psr\Http\Message\RequestInterface $request) : boolean
Template's init method is called automatically from `charcoal-app`'s Template Route.
For admin templates, initializations is:
$_GET
\Psr\Http\Message\RequestInterface | $request | The request to initialize. |
setIdent(mixed $ident) : \Charcoal\Admin\AdminTemplate
mixed | $ident | Template identifier. |
Chainable
setLabel(mixed $label) : \Charcoal\Admin\AdminTemplate
mixed | $label | Template label. |
Chainable
setTitle(mixed $title) : \Charcoal\Admin\AdminTemplate
Set the title of the page.
mixed | $title | Template title. |
Chainable
setSubtitle(mixed $subtitle) : \Charcoal\Admin\AdminTemplate
Set the page's sub-title.
mixed | $subtitle | Template subtitle. |
Chainable
setShowTopHeaderMenu(boolean $bool) : \Charcoal\Admin\AdminTemplate
Display or not the top right header menu.
boolean | $bool | Display or not. |
Chainable.
setTopHeaderMenu(array $menu) : \Charcoal\Admin\AdminTemplate
Sets the top right header menu.
array | $menu | Menu as link and labels. |
Chainable.
setShowHeaderMenu(boolean $show) : \Charcoal\Admin\AdminTemplate
boolean | $show | The show header menu flag. |
Chainable
setShowFooterMenu(boolean $show) : \Charcoal\Admin\AdminTemplate
boolean | $show | The show footer menu flag. |
Chainable
setShowSidemenu(boolean $show) : \Charcoal\Admin\AdminTemplate
boolean | $show | The show sidemenu flag. |
Chainable
addFeedback(string $level, mixed $message) : \Charcoal\Admin\Ui\FeedbackContainerTrait
Add feedback.
string | $level | The feedback level. |
mixed | $message | The feedback message. |
Chainable
clearFeedback() : \Charcoal\Admin\Ui\FeedbackContainerTrait
Remove all feedback from collection.
Chainable
setSiteName(string $name) : \Charcoal\Admin\AdminTemplate
Set the name of the project.
string | $name | Name of the project. |
Chainable