extends |
Layout |
|---|---|
implements |
NavigableInterface |
Implements a classic 100% width admin layout.
Optional left menu in inverse with fixed width is most suitable for contextual navigation or providing core object list (e.g. folders in mail)
Another menu on the top for actions that can have a pull-down menus.
A top-right spot is for user icon or personal menu, labels or stats.
On top of the content there is automated title showing page title but can also work as a bread-crumb or container for buttons.
Footer for a short copyright notice and perhaps some debug elements.
Spots:
LeftMenu (has_menuLeft)
Menu
RightMenu (has_menuRight)
Footer
Content
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
addMenuGroup($seed): Menu
|
# |
public
|
addMenuItem($name, $action = null, $group = null): MenuItem
|
# |
protected
|
renderView(): void
|
# |
| Methods inherited from Atk4\Ui\AbstractView |
|---|
getOwner() |
| Methods used from Atk4\Core\AppScopeTrait |
|---|
assertInstanceOfApp(), issetApp(), getApp(), setApp() |
| Methods used from Atk4\Core\ContainerTrait |
|---|
_uniqueElementName(), _addContainer(), removeElement(), _shorten(), getElement(), hasElement() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\StaticAddToTrait |
|---|
_addToAdd(), addTo(), addToWithCl(), addToWithClUnsafe() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Properties | |||
|---|---|---|---|
public
|
Menu
|
$menu
|
# |
public
|
Menu|null
|
$menuLeft
|
# |
public
|
Menu
|
$menuRight
|
# |
public
|
MenuItem
|
$burger
|
# |
public
|
bool
|
$isMenuLeftVisible = true
|
# |
public
|
|
$defaultTemplate = 'layout/admin.html'
|
# |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $ui, $class, $style, $attr, $template, $content, $element, $executorFactory, $stickyArgs |
| Properties inherited from Atk4\Ui\AbstractView |
|---|
$_addLater, $_rendered, $elements |
| Properties used from Atk4\Core\AppScopeTrait |
|---|
$_app, $maxNameLength, $uniqueNameHashes |
| Properties used from Atk4\Core\ContainerTrait |
|---|
$_elementNameCounts |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\NameTrait |
|---|
$name |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |