Skip to content
World Wide Web Server edited this page Jul 4, 2012 · 25 revisions

Information about SQL trees: http://dev.e-taller.net/dbtree/

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

Download>

File:MPTtree.zip

Clone this wiki locally