FilterMenuItemsEvent

FinalYes

Listeners to this Event will be able to modify items for a menu generated with HMENU

Table of Contents

Methods

__construct()  : mixed
getAllMenuItems()  : array<string|int, mixed>
getBannedMenuItems()  : array<string|int, mixed>
getContext()  : Context
getCurrentPage()  : array<string|int, mixed>
getExcludedDoktypes()  : array<string|int, mixed>
getFilteredMenuItems()  : array<string|int, mixed>
getItemConfiguration()  : array<string|int, mixed>
getMenuConfiguration()  : array<string|int, mixed>
getSite()  : Site
setFilteredMenuItems()  : void

Methods

__construct()

public __construct(array<string|int, mixed> $allMenuItems, array<string|int, mixed> $filteredMenuItems, array<string|int, mixed> $menuConfiguration, array<string|int, mixed> $itemConfiguration, array<string|int, mixed> $bannedMenuItems, array<string|int, mixed> $excludedDoktypes, Site $site, Context $context, array<string|int, mixed> $currentPage) : mixed
Parameters
$allMenuItems : array<string|int, mixed>
$filteredMenuItems : array<string|int, mixed>
$menuConfiguration : array<string|int, mixed>
$itemConfiguration : array<string|int, mixed>
$bannedMenuItems : array<string|int, mixed>
$excludedDoktypes : array<string|int, mixed>
$site : Site
$context : Context
$currentPage : array<string|int, mixed>

getAllMenuItems()

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

getBannedMenuItems()

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

getCurrentPage()

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

getExcludedDoktypes()

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

getFilteredMenuItems()

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

getItemConfiguration()

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

getMenuConfiguration()

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

setFilteredMenuItems()

public setFilteredMenuItems(array<string|int, mixed> $filteredMenuItems) : void
Parameters
$filteredMenuItems : array<string|int, mixed>

        
On this page

Search results