navigationList
in
implements
ArrayAccess
ACP navigation navigation list object
Table of Contents
add() | Add item to navigation | bool |
---|---|---|
remove() | Remove item from navigation | bool |
fetch() | Fetch item list | array |
offsetExists() | Offset exists | bool |
offsetGet() | Returns offet value | navigationItem |
offsetSet() | Set offset to value | void |
checkSubmenu() | Checks submenu if available and removed items without access permissions | bool |
Methods
add()
Add item to navigation
public
add(
$area :
string
, $item :
navigationItem
)
: bool
Parameters
- $area : string
- $item : navigationItem
Return values
boolremove()
Remove item from navigation
public
remove(
$area :
string
, $id :
string
)
: bool
Parameters
- $area : string
- $id : string
Return values
boolfetch()
Fetch item list
public
fetch(
)
: array
Return values
arrayoffsetExists()
Offset exists
public
offsetExists(
$offset :
string
)
: bool
Parameters
- $offset : string
Return values
booloffsetGet()
Returns offet value
public
offsetGet(
$offset :
string
)
: navigationItem
Parameters
- $offset : string
Return values
navigationItemoffsetSet()
Set offset to value
public
offsetSet(
$offset :
type
, $value :
navigationItem
)
: void
Parameters
- $offset : type
- $value : navigationItem
Tags
checkSubmenu()
Checks submenu if available and removed items without access permissions
private
checkSubmenu(
&$item :
navigationItem
)
: bool
Parameters
- $item : navigationItem