프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | integer |