Skip to content

Latest commit

 

History

History
208 lines (74 loc) · 1.88 KB

File metadata and controls

208 lines (74 loc) · 1.88 KB
title footer
\leantime\domain\repositories\menu
false

menu

  • Full name: \leantime\domain\repositories\menu

Constants

Constant Type Value
\leantime\domain\repositories\menu::DEFAULT_MENU 'default'

Methods

__construct

public menu::__construct(): mixed

Return Value:


getMenuTypes

getMenuTypes - Return an array of a currently supported menu types

public menu::getMenuTypes(): array

Return Value:

Array of supported menu types


setSubmenuState

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:


getMenuStructure

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


processMenuItem

public menu::processMenuItem(mixed $element, mixed& $structure): mixed

Parameters:

Parameter Type Description
element mixed
structure mixed

Return Value:


getTicketMenu

public menu::getTicketMenu(): mixed

Return Value:


getIdeaMenu

public menu::getIdeaMenu(): mixed

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor