You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TODO: Need create class for CI for work with trees!
=> a bit of inspiration...
[url=http://pear.php.net/package/Tree]PEAR Tree Package[/url]
Modified Preorder Tree Traversal (or Nested Sets) tree model
Place the MPTtree.php file in your models directory.
Load the model with $this->load->model(’MPTtree’), and then set the tablename with $this->MPTtree->set_table(’tablename’)
Check the comments in file or the accompanying html file on how to use the model