diff --git a/manual/codes/Hierarchical data - Nested set - Tree options.php b/manual/codes/Hierarchical data - Nested set - Tree options.php index eaeec7fdd..10d7d851e 100644 --- a/manual/codes/Hierarchical data - Nested set - Tree options.php +++ b/manual/codes/Hierarchical data - Nested set - Tree options.php @@ -1,6 +1,6 @@ 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 // 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 $roots = $manager->getTable('Menu')->getTree()->fetchRoots(); -?> \ No newline at end of file +?>