Package : php-pear-Tree

Package details

Summary: Generic tree management, currently supports databases (via DB, MDB and MDB2) and XML as data sources

Description:
Provides methods to read and manipulate trees, which are stored in a
database (via DB, MDB and MDB2) or an XML file.

The trees can be stored in the DB either as nested trees.
Or as simple trees, which use parentId-like structure.
Currently XML data can only be read from a file and accessed.
The package offers a big number of methods to access and manipulate trees.
For example methods like: getRoot, getChild[ren[Ids]], getParent[s[Ids]],
getPath[ById] and many more.

There are two ways of retrieving the data from the place where they are stored,
one is by reading the entire tree into the memory - the Memory way. The other
is reading the tree nodes as needed (very useful in combination with huge trees
and the nested set model).

The package is designed that way that it is possible to convert/copy tree data
from either structure to another (from XML into DB).


This package has the following drivers:
* DB
* MDB
* MDB2
* Array
* XML
* FileSystem


URL: http://pear.php.net/package/Tree
License: PHP License

Maintainer: mokraemer

List of RPMs