phpDocumentor

AdminMenuService
in package

Class AdminMenuService

Table of Contents

$processor  : MenuProcessor
$repository  : AdminMenuCacheRepository
$selectedAdminPage  : string|null
__construct()  : mixed
AdminMenuService constructor.
changeSelectedAdminPage()  : void
deleteMenuCache()  : void
Deletes all cache data of the admin menu.
getAdminMenu()  : array<string|int, mixed>
Returns the finalized gambio admin menu structure.
getAdminMenuCache()  : array<string|int, mixed>
Returns the admin menu cache.

Properties

Methods

changeSelectedAdminPage()

public changeSelectedAdminPage(string $adminPage) : void
Parameters
$adminPage : string
Return values
void

deleteMenuCache()

Deletes all cache data of the admin menu.

public deleteMenuCache() : void
Return values
void

getAdminMenu()

Returns the finalized gambio admin menu structure.

public getAdminMenu() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAdminMenuCache()

Returns the admin menu cache.

private getAdminMenuCache() : array<string|int, mixed>

If no cache data exists, new cache data will be created.

Return values
array<string|int, mixed>

Search results