Top Level :: Structures

Package Information: Tree

Show All Changelogs
» Version » Information
0.3.3Download

Release date: 2008-03-23 16:24 UTC
Release state: beta

Changelog:

* Fixed Bug #11822 package description should include mention of MDB2 compatibility
* Fixed Bug #11853 Dynamic_MDB2nested uses undefined functions
* Fixed Bug #12780 DB connection instead DSN fails because of get_parent_class
* Fixed Bug #13080 MDB2simple _setup(): parentId cleared if parentId column is mapped to "parentid"
* Fixed Bug #13081 Reopen #11504: MDB2+Tree problem. MDB2 doesn't contains getTextValue method

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR 1.5.4 or newer
  • PEAR Package: DB 1.7.11 or newer (optional)
  • PEAR Package: XML_Parser 1.2.8 or newer (optional)
0.3.2Download

Release date: 2007-08-11 21:41 UTC
Release state: beta

Changelog:

* Fix Bug #11504 MDB2+Tree problem. MDB2 doesn't contains getTextValue method, patch by Simon Ruderich
* Fix Bug #11500 Tree/Memory.php method getElementContent() not working, patch by Simon Ruderich

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR 1.5.4 or newer
  • PEAR Package: DB 1.7.11 or newer (optional)
  • PEAR Package: XML_Parser 1.2.8 or newer (optional)
0.3.1Download

Release date: 2007-06-23 22:37 UTC
Release state: beta

Changelog:

* Fix Bug #11365 Tree class doesnt contains raiseError method

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR 1.5.4 or newer
  • PEAR Package: DB 1.7.11 or newer (optional)
  • PEAR Package: XML_Parser 1.2.8 or newer (optional)
0.3.0Download

Release date: 2007-06-01 23:10 UTC
Release state: beta

Changelog:

* added parameter to getPathAsString(), which takes the key you want to have in the path
* add method getLevel() to Tree_Common, so it is also available for Dynamic_*, thanks to Michael Johnson
* Fixed bug #1976 Missing $this-> with __construct() (helgi)
* Fixed bug #900 PEAR QA: improvement for get_class()-usage (helgi)
* Fixed Bug #913 MDB Container + fixes (lorzenzo thanks! helgi)
* Fixed Bug #1569 Tree_Memory_DBsimple has no hasChildren function hence remove doesnt work (helgi)
* Fixed Bug #4803 References fix (patch from yunosh aka. Jan Schneider)
* Feature request #6328 add MDB2 and improve MDB usage (lsmith, helgi)
* add unit test, at least for all new/modified methods
* CS fixes
* package xml version 2

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR 1.5.4 or newer
  • PEAR Package: DB 1.7.11 or newer (optional)
  • PEAR Package: XML_Parser 1.2.8 or newer (optional)
0.2.4Download

Release date: 2003-03-17 21:56 UTC
Release state: beta

Changelog:

* bugfix in Memory_Array::add method, which made the last element being added in a bogus way

Dependencies:
  • PEAR Package: DB 1.3 or newer
  • PEAR Package: XML_Parser 1.0 or newer
0.2.3Download

Release date: 2003-03-11 14:41 UTC
Release state: beta

Changelog:

* Make switchDataSource work for Memory/Array, this enables you to
read the data from any source and switch the source on the run. This writes the data
from the current tree into the new source. I.e. you read the data from a DB and write
it into an array.
Switching from DB to Array makes sense i.e. if you read a tree from the DB, which you want to show
(i.e. using HTML_TreeMenu) but therefore you need to set additional properties for each
node which you don't want to save in the DB, since they are only for the presentation.
Properties for HTML_TreeMenu are i.e. the icon and some events (like 'onClick'). Since you switched
the source from DB to Array you can change any data without worrying that they are written into
the DB and modify your actual data in the DB.
* Bring Memory/Array closer to be fully useable.
* getPathAsString() takes two more parameters where you can determine from and offset
* getChildrenIds() has a new optional parameter for determining the level
* Add getDepth() to determine the maximum depth of the tree
* Make setup work with custom data optionally (only relevant for Memory_*)
* Show a nicer varDump
* add UML class diagram

Dependencies:
  • PEAR Package: DB 1.3 or newer
  • PEAR Package: XML_Parser 1.0 or newer
0.2.2Download

Release date: 2003-01-30 23:21 UTC
Release state: beta

Changelog:

- fixing a lot of E_ALL and CS issues
- enhancing getChildren method, now you can get children for more than one level
- moving the examples to docs and making TreeView and TreeEditor work properly with new php versions

Dependencies:
  • PEAR Package: DB 1.3 or newer
  • PEAR Package: XML_Parser 1.0 or newer
0.2.1Download

Release date: 2002-10-28 23:29 UTC
Release state: beta

Changelog:

- bugfix in getAllChildren[Ids], before it only worked for one level below

Dependencies:
  • PEAR Package: DB 1.3 or newer
  • PEAR Package: XML_Parser 1.0 or newer
0.2Download

Release date: 2002-10-28 22:13 UTC
Release state: beta

Changelog:

- change in API! getChildrens[Ids] became getAllChildren[Ids] (since that is proper english)

0.1.2Download

Release date: 2002-09-30 19:15 UTC
Release state: beta

Changelog:

- added example that can demonstrates the Tree-class optionally on
either a DB, FileSystem, Array or XML-File
- enhanced the returning of proper PEAR-errors
- experimental FileSystem-class that can be used to read a directory structure
and work on it using the known tree-methods
- experimental Array-class which allows the same on arrays
- check for existence of methods in the delegated-classes before calling them
return proper PEAR-error if they are not implemented yet
- implemented getChildrens method, for Memory-way

0.1.1Download

Release date: 2002-08-21 04:48 UTC
Release state: beta

Changelog:

enable retreiving of all parents (the actual parent and it's parents etc.)

0.1Download

Release date: 2002-08-13 23:24 UTC
Release state: beta

Changelog:

Initial snapshot release