|
|
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
|
Package
|
Tree
|
Installed
|
- no -
|
Latest
|
0.3.7
|
License
|
PHP License
|
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 retreiving 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
|
Dependencies
|
PHP Version: 4.3.0 or newer PEAR Package: pear.php.net/PEAR 1.4.0b1 or newer PEAR Package: pear.php.net/PEAR 1.5.4 or newer PEAR Package: pear.php.net/DB 1.7.11 or newer1 PEAR Package: pear.php.net/XML_Parser 1.2.8 or newer1
|
Options
|
|
More
|
Extended Package Information
pear.php.net Developer Documentation
pear.php.net Package Manual
|
|
|