setType()
setType(string|null $type) : \Charcoal\Ui\UiItemInterface
Set the UI item type.
Parameters
| string|null | $type | The UI item type. |
Returns
\Charcoal\Ui\UiItemInterface —Chainable
Defines a UI Grouping.
ArrayAccess, Serializable and JsonSerializable.keys(), data(), keys, delegates and separator) methods.view dependency. Typically provided from DI container ['view'].template_ident property.setType(string|null $type) : \Charcoal\Ui\UiItemInterface
Set the UI item type.
| string|null | $type | The UI item type. |
Chainable
setActive(boolean $active) : \Charcoal\Ui\UiItemInterface
Activates/deactivates the UI item.
| boolean | $active | Activate (TRUE) or deactivate (FALSE) the UI item. |
Chainable
setTemplate(string $template) : \Charcoal\Ui\UiItemInterface
Set the UI item's template.
Usually, a path to a file containing the template to be rendered.
| string | $template | A template (identifier). |
Chainable
setTitle(mixed $title) : \Charcoal\Ui\UiItemInterface
Set the UI item's title.
| mixed | $title | A title. |
Chainable
setSubtitle(mixed $subtitle) : \Charcoal\Ui\UiItemInterface
Set the UI item's sub-title.
| mixed | $subtitle | A sub-title. |
Chainable
setDescription(mixed $description) : \Charcoal\Ui\UiItemInterface
Set the UI item's description.
| mixed | $description | A description. |
Chainable
setNotes(mixed $notes) : \Charcoal\Ui\UiItemInterface
Set notes about the UI item.
| mixed | $notes | Notes. |
Chainable
setShowTitle(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's title.
| boolean | $show | Show (TRUE) or hide (FALSE) the title. |
Chainable
setShowSubtitle(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's sub-title.
| boolean | $show | Show (TRUE) or hide (FALSE) the sub-title. |
Chainable
setShowDescription(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's description.
| boolean | $show | Show (TRUE) or hide (FALSE) the description. |
Chainable
setShowNotes(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's notes.
| boolean | $show | Show (TRUE) or hide (FALSE) the notes. |
Chainable
setShowHeader(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's header.
| boolean | $show | Show (TRUE) or hide (FALSE) the header. |
Chainable
setShowFooter(boolean $show) : \Charcoal\Ui\UiItemInterface
Show/hide the UI item's footer.
| boolean | $show | Show (TRUE) or hide (FALSE) the footer. |
Chainable
setIdent(string $ident) : \Charcoal\Ui\UiGroupingInterface
Set the identifier of the sidemenu group.
| string | $ident | Sidemenu group identifier. |
Chainable
setPriority(integer $priority) : \Charcoal\Ui\UiGroupingInterface
Set the group's priority or sorting index.
| integer | $priority | An index, for sorting. |
Chainable