navigationList
in package
ACP navigation navigation list object
Tags
Table of Contents
- $activeNavItem : string
- Active navigation item
- add() : bool
- Add item to navigation
- fetch() : array<string|int, mixed>
- Fetch item list
- remove() : bool
- Remove item from navigation
- checkSubmenu() : bool
- Checks submenu if available and removed items without access permissions
Properties
$activeNavItem
Active navigation item
private
string
$activeNavItem
= ''
Tags
Methods
add()
Add item to navigation
public
add(string $area, navigationItem $item) : bool
Parameters
- $area : string
- $item : navigationItem
Return values
bool —fetch()
Fetch item list
public
fetch([string $str = '' ]) : array<string|int, mixed>
Parameters
- $str : string = ''
Return values
array<string|int, mixed> —remove()
Remove item from navigation
public
remove(string $area, string $id) : bool
Parameters
- $area : string
- $id : string
Return values
bool —checkSubmenu()
Checks submenu if available and removed items without access permissions
private
checkSubmenu(navigationItem &$item) : bool
Parameters
- $item : navigationItem