AdministratorMenu
class AdministratorMenu extends AbstractMenu
Menu class.
Methods
static
AbstractMenu
getInstance(
string $client,
array $options = array())
Returns a Menu object
from AbstractMenu
boolean
setDefault(
integer $id,
string $language = '*')
Set the default item by id and language code.
from AbstractMenu
MenuItem|null
getDefault(
string $language = '*')
Get the default item by language code.
from AbstractMenu
getItems(
mixed $attributes,
mixed $values,
boolean $firstonly = false)
Gets menu items by attribute
from AbstractMenu
Registry
getParams(
integer $id)
Gets the parameter object for a certain menu item
from AbstractMenu
boolean
authorise(
integer $id)
Method to check Menu object authorization against an access control object and optionally an access extension object
from AbstractMenu
Details
boolean
setDefault(
integer $id,
string $language = '*')
Set the default item by id and language code.
MenuItem|MenuItem[]
getItems(
mixed $attributes,
mixed $values,
boolean $firstonly = false)
Gets menu items by attribute