Projects / PHP-Tree Class

PHP-Tree Class

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
Licenses
Implementation

Recent releases

  •  11 Mar 2003 11:00

    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.

    •  15 Feb 2003 05:11

      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.

      •  18 Mar 2002 22:59

        Release Notes: Everything has been restructured. Better examples have been added.

        •  22 Jan 2002 13:37

          No changes have been submitted for this release.

          Recent comments

          18 Mar 2002 17:46 wolfram

          Help on Nested Set Tree Model
          In the new version 0.4.1 I started the implementation of the nested set model. But I got stuck with some queries. I would really appreciate some help on that (i.e. for getChildren, getParent, etc.). Please email me if you could help.

          Screenshot

          Project Spotlight

          OpenStack4j

          A Fluent OpenStack client API for Java.

          Screenshot

          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.