forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 0
Trees
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]
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