title | footer |
---|---|
\leantime\domain\repositories\menu |
false |
- Full name:
\leantime\domain\repositories\menu
Constant | Type | Value |
---|---|---|
\leantime\domain\repositories\menu::DEFAULT_MENU |
'default' |
public menu::__construct(): mixed
Return Value:
getMenuTypes - Return an array of a currently supported menu types
public menu::getMenuTypes(): array
Return Value:
Array of supported menu types
setSubmenuState - Set the state of the submenu (open or closed)
public menu::setSubmenuState(string $submenu, string $state): void
Parameters:
Parameter | Type | Description |
---|---|---|
submenu |
string | Submenu identifier |
state |
string | New state (open / closed) |
Return Value:
getMenu - Return a specific menu structure
public menu::getMenuStructure(string $menuType = ''): array
Parameters:
Parameter | Type | Description |
---|---|---|
menuType |
string | Menu type to return |
Return Value:
Array of menu structrue
public menu::processMenuItem(mixed $element, mixed& $structure): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
element |
mixed | |
structure |
mixed |
Return Value:
public menu::getTicketMenu(): mixed
Return Value:
public menu::getIdeaMenu(): mixed
Return Value:
Automatically generated from source code comments on 2023-02-28 using phpDocumentor