@pages = __PACKAGE__->set_paths( @pages )
Sets the path for multiple pages, either a subtree or a group of non-adjacent pages.
$path_pages = __PACKAGE__->create_path_pages( %args )
Find or creates a list of path_pages. Returns a reference to an array of path_pages.
Opens a gap in the nested set numbers to allow the inserting of new pages into the tree. Since nested sets number each node twice, the size of the gap is always twice the number of new pages. Also, since nested sets number the nodes from left to right, we determine what nodes to re-number according to the rgt column of the parent of the top-most new node.
Returns a new parent object that is updated with the new lft rgt nested set numbers.
Create a new page in the wiki.
|perl v5.20.3||MOJOMOJO::SCHEMA::RESULTSET::PAGE (3)||2014-12-20|