$currentObjId
$currentObjId : mixed
List Admin Users
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.
setView(\Charcoal\View\ViewInterface|array $view) : \Charcoal\Admin\Ui\CollectionContainerInterface
\Charcoal\View\ViewInterface|array | $view | The view instance. |
Chainable
setCollectionLoader(\Charcoal\Loader\CollectionLoader $loader) : \Charcoal\Admin\Ui\CollectionContainerInterface
\Charcoal\Loader\CollectionLoader | $loader | The collection loader. |
Chainable
setObjType(string $objType) : \Charcoal\Admin\Ui\CollectionContainerInterface
string | $objType | The collection's object type. |
If provided argument is not of type 'string'.
Chainable
setCollectionIdent(string $collectionIdent) : \Charcoal\Admin\Ui\CollectionContainerInterface
Set the key for the collection structure to use.
string | $collectionIdent | The collection identifier. |
If the identifier argument is not a string.
Chainable
setCollectionConfig(mixed $config) : \Charcoal\Admin\Ui\CollectionContainerInterface
Replace the collection's configset with the given parameters.
mixed | $config | New collection config values. |
Chainable
setCollection(mixed $collection) : \Charcoal\Admin\Ui\CollectionContainerInterface
mixed | $collection | The collection. |
Chainable
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
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
setupDisplayPropertyValue(\Charcoal\Model\ModelInterface $object, \Charcoal\Property\PropertyInterface $property) : void
Setup the property's display value before its assigned to the object row.
This method is useful for classes using this trait.
\Charcoal\Model\ModelInterface | $object | The current row's object. |
\Charcoal\Property\PropertyInterface | $property | The current property. |
parsePropertyCell(\Charcoal\Model\ModelInterface $object, \Charcoal\Property\PropertyInterface $property, string $propertyValue) : array
Filter the property before its assigned to the object row.
This method is useful for classes using this trait.
\Charcoal\Model\ModelInterface | $object | The current row's object. |
\Charcoal\Property\PropertyInterface | $property | The current property. |
string | $propertyValue | The property $key's display value. |
parseObjectRow(\Charcoal\Model\ModelInterface $object, array $objectProperties) : array
Filter the object before its assigned to the row.
This method is useful for classes using this trait.
\Charcoal\Model\ModelInterface | $object | The current row's object. |
array | $objectProperties | The $object's display properties. |
setSiteName(string $name) : \Charcoal\Admin\AdminTemplate
Set the name of the project.
string | $name | Name of the project. |
Chainable
setPropertyDisplayFactory(\Charcoal\Factory\FactoryInterface $factory) : \Charcoal\Admin\Ui\CollectionContainerInterface
\Charcoal\Factory\FactoryInterface | $factory | The property display factory. |
Chainable