Свойство | Type | Description | |
---|---|---|---|
$active | boolean | ||
$class | string | ||
$definition | array | Model definition | |
$entity_id | integer | ||
$icon | string | ||
$name | string | ||
$no_follow | boolean | ||
$position | integer | ||
$title | string | ||
$tree_max_depth | integer | ||
$type | integer | ||
$url | string |
Méthode | Description | |
---|---|---|
add ( boolean $autoDate = true, boolean $nullValues = false ) : boolean | Inserts new menu item to the database | |
delete ( ) : boolean | Clears menu cache on delete event | |
getMaxPosition ( integer $id_shop ) : integer | Returns max position in the given shop | |
getMenuItems ( integer $id_lang, integer $id_shop ) : array | Returns all menu items for a given shop | |
update ( boolean $nullValues = false ) : boolean | Clears menu cached on update event |
public static getMaxPosition ( integer $id_shop ) : integer | ||
$id_shop | integer | |
Résultat | integer |
public static array $definition | ||
Résultat | array |