The PHP-Tree Class offers methods that make it easy to work with trees. The tree data can be read/written from/to XML (files) or a database. The class is PEAR based. It allows a user to navigate through a tree and modify it.
|Tags||Software Development Libraries php classes|
Release Notes: switchDataSource now works for Memory/Array, allowing data to be read from any source and for the source to be switched on the run. Memory/Array is now closer to being fully usable. The getPathAsString() method now takes 'from' and 'offset' parameters, and getChildrenIds() now has an optional parameter for determining the level. getDepth() was added for determining the maximum depth of the tree. A nicer varDump is provided, and a UML class diagram was added.
Release Notes: Issues with E_ALL and CS were fixed, and the getChildren() method was enhanced to get children for more than one level. TreeView and TreeEditor now work properly with new PHP versions, and the class has been included in PEAR.
Release Notes: Everything has been restructured. Better examples have been added.
No changes have been submitted for this release.