Метод | Описание | |
---|---|---|
getChildItems ( integer | string $pageId = null, integer $depthLimit = 1000, string $orderBy = null ) : array | Get children items of current or specified page. | |
getMenuItems ( string $menuName, integer $depthFrom = 1, integer $depthTo = 1000, string $orderBy = null ) : array | Get specific levels of menu. |
Метод | Описание | |
---|---|---|
arrayToMenuItem ( array $pages, integer $depth, integer $curDepth, string $order ) : array | ||
existInBreadcrumb ( string $link ) : boolean |
public static getChildItems ( integer | string $pageId = null, integer $depthLimit = 1000, string $orderBy = null ) : array | ||
$pageId | integer | string | pageId or an alias |
$depthLimit | integer | limit the depth of items to be returned |
$orderBy | string | can be set to 'title' to change ordering |
Результат | array |