Menu
This class represents a menu element and is used to build any kind of menu
public
|
|
public
boolean
|
|
abstract public
string
|
|
public
string
|
|
public
|
|
protected
|
|
protected
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
boolean
|
|
public
string
|
|
public
|
|
public
|
|
protected
|
|
protected
string
|
integer |
MENU_AUTH_BIT
|
#
1
|
integer |
MENU_ENABLE_OR_NOT
|
#
42
|
boolean |
MENU_ENABLED
|
#
true
|
boolean |
MENU_NOT_ENABLED
|
#
false
|
integer |
BLOCK_POSITION__NOT_ENABLED
|
#
0
|
integer |
BLOCK_POSITION__HEADER
|
#
1
|
integer |
BLOCK_POSITION__SUB_HEADER
|
#
2
|
integer |
BLOCK_POSITION__TOP_CENTRAL
|
#
3
|
integer |
BLOCK_POSITION__BOTTOM_CENTRAL
|
#
4
|
integer |
BLOCK_POSITION__TOP_FOOTER
|
#
5
|
integer |
BLOCK_POSITION__FOOTER
|
#
6
|
integer |
BLOCK_POSITION__LEFT
|
#
7
|
integer |
BLOCK_POSITION__RIGHT
|
#
8
|
integer |
BLOCK_POSITION__ALL
|
#
9
|
string |
MENU__CLASS
|
#
'Menu'
|
public
integer
|
$id
the element identifier, only used by the service |
#
0
|
public
string
|
$title
the Menu title |
#
''
|
public
int[string]
|
$auth
Represents the Menu authorisations array |
#
null
|
public
boolean
|
$enabled
true if the Menu is used |
#
self::MENU_NOT_ENABLED
|
public
integer
|
$block
The Menu block position |
#
self::BLOCK_POSITION__NOT_ENABLED
|
public
integer
|
$position
The Menu position on the website |
#
-1
|
public
Array<Filter>
|
$filters
The filter list |
#
array()
|
protected
|
$template
the template of the menu |
#
null
|