메소드 |
설명 |
|
buildCache ( string $language = null ) |
Build the cache |
|
copy ( string $from, string $to ) |
Copy pages |
|
createHtml ( string $type = 'page', integer $depth, integer $parentId = 1, string $html = '' ) : string |
Creates the html for the menu |
|
delete ( integer $id, string $language = null, integer $revisionId = null ) : boolean |
Delete a page |
|
exists ( integer $id ) : boolean |
Check if a page exists |
|
get ( integer $id, integer $revisionId = null, string $language = null ) : mixed |
Get the data for a record |
|
getBlocks ( integer $id, integer $revisionId = null, string $language = null ) : array |
Get blocks for a certain page/revision |
|
getByTag ( integer $tagId ) : array |
Get all items by a given tag id |
|
getCacheBuilder ( ) : CacheBuilder |
|
|
getEncodedRedirectURL ( string $redirectURL ) : string |
Get encoded redirect URL |
|
getFirstChildId ( integer $pageId ) : mixed |
Get the first child for a given parent |
|
getFullURL ( integer $id ) : string |
Get the full-URL for a given menuId |
|
getLatestRevision ( integer $id, string $language = null ) : integer |
Get latest revision id for a page. |
|
getMaximumBlockId ( ) : integer |
Get the maximum unique id for blocks |
|
getMaximumPageId ( string $language = null ) : integer |
Get the maximum unique id for pages |
|
getMaximumSequence ( integer $parentId, string $language = null ) : integer |
Get the maximum sequence inside a leaf |
|
getPagesForDropdown ( string $language = null ) : array |
Get the pages for usage in a dropdown menu |
|
getSubtree ( array $navigation, integer $parentId ) : string |
Get the subtree for a root element |
|
getTree ( array $ids, array $data = null, integer $level = 1, string $language = null ) : array |
Get all pages/level |
|
getTreeHTML ( ) : string |
Get the tree |
|
getTypes ( ) : array |
Get the possible block types |
|
getURL ( string $url, integer $id = null, integer $parentId, boolean $isAction = false ) : string |
Get an unique URL for a page |
|
insert ( array $page ) : integer |
Insert a page |
|
insertBlocks ( array $blocks ) |
Insert multiple blocks at once |
|
move ( integer $id, integer $droppedOn, string $typeOfDrop, string $tree, string $language = null ) : boolean |
Move a page |
|
update ( array $page ) : integer |
Update a page |
|
updatePagesTemplates ( integer $oldTemplateId, integer $newTemplateId, boolean $overwrite = false ) |
Switch templates for all existing pages |
|