Class MenuItem
This class describes the MenuItem model
- Hawk\Model uses Hawk\Utils
-
Hawk\MenuItem
Methods summary
public
|
|
public static
array
|
|
public static
|
|
public static
|
|
public static
array
|
|
public
true
|
Methods inherited from Hawk\Model
addIfNotExists(),
countElementsByExample(),
countElementsBySQL(),
deleteByExample(),
deleteBySQL(),
getAll(),
getByExample(),
getById(),
getBySQL(),
getData(),
getDbInstance(),
getDbName(),
getListByExample(),
getListBySQL(),
getPrimaryColumn(),
getTable(),
save(),
set(),
setDbName(),
setPrimaryColumn(),
setTable(),
update()
Methods used from Hawk\Utils
Constants summary
integer |
USER_ITEM_ID
The id of the user menu |
#
1
|
integer |
ADMIN_ITEM_ID
The id of the admin menu |
#
2
|
Properties summary
public static
sting
|
$tablename
The associated table |
#
"MenuItem"
|
protected static
string
|
$primaryColumn
The primary column |
#
'id'
|
public
string
|
$label
The menu item label |
#
''
|