extends |
View |
|---|
| Methods | ||
|---|---|---|
public
|
addItem(
string|array|MenuItem $item = null,
string|array<0|string, string|int|false>|JsExpressionable|UserAction $action = null,
): MenuItem
|
# |
public
|
addHeader(string $name): MenuItem
|
# |
public
|
addMenu(string|array $name): Menu
|
# |
public
|
addGroup(string|array $name, string $template = 'menugroup.html'): Menu
|
# |
public
|
addMenuRight(): Menu
|
# |
public
|
add($seed, $region = null): AbstractView
|
# |
public
|
addDivider(): View
|
# |
public
|
getHtml(): string
|
# |
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
|
|
$ui = 'menu'
|
# |
public
|
bool
|
$activateOnClick = true
|
# |
public
|
|
$defaultTemplate = 'menu.html'
|
# |
public
|
bool
|
$inDropdown = false
|
# |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $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 |