added missing ;
This commit is contained in:
parent
7324938c6e
commit
63fe23c739
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
$options = array('has_many_roots' => true, // enable many roots
|
$options = array('has_many_roots' => true, // enable many roots
|
||||||
'root_column_name' => 'root_id') // set root column name, defaults to 'root_id'
|
'root_column_name' => 'root_id'); // set root column name, defaults to 'root_id'
|
||||||
|
|
||||||
// To create new root nodes, if you have manually set the root_id, then it will be used
|
// To create new root nodes, if you have manually set the root_id, then it will be used
|
||||||
// otherwise it will automatically use the next available root id
|
// otherwise it will automatically use the next available root id
|
||||||
@ -22,4 +22,4 @@ $another_root = $manager->getTable('Menu')->getTree()->fetchRoot(2);
|
|||||||
|
|
||||||
// fetching all roots
|
// fetching all roots
|
||||||
$roots = $manager->getTable('Menu')->getTree()->fetchRoots();
|
$roots = $manager->getTable('Menu')->getTree()->fetchRoots();
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user