Login   Register  
PHP Classes
elePHPant
Icontem

TTreeList: Create a binary tree from array or database result

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-27 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 189 This week: 1All time: 7,338 This week: 1,493Up
Version License PHP version Categories  
ttreelist 1.0.1GNU Lesser General Publ...5.3PHP 5, Databases, Data types
Description Author  

This class can create a binary tree from array or database result

It can create a binary tree and/or a double linked list from values taken from arrays or the records returned by database query performed using PDO.

Building the tree can be filtered using one or more custom filter functions that determine if a given entry should be added to the tree or not.

The class can also traverse the tree starting from the root element and moving to the next elements.

Picture of Thomas Björk
Name: Thomas Björk <contact>
Classes: 11 packages by
Country: Sweden Sweden
Age: 46
All time rank: 1701 in Sweden Sweden
Week rank: 146 Up1 in Sweden Sweden Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageexamples (6 files)
Accessible without login Plain text file readme.txt Doc. Documenttion
Accessible without login Plain text file LICENSE Data License file
Accessible without login Plain text file README.md Data Updated readme to markdown
Plain text file treelist.php Class Source file

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file advanced_pdo.php Example Advanced example using PDO
  Accessible without login Plain text file basic_array.php Example Basic example using array
  Accessible without login Plain text file basic_indexed.php Example Basic example using indexed array
  Accessible without login Plain text file basic_pdo.php Example Basic example using PDO
  Accessible without login Plain text file basic_strings.php Example Basic example using associated array
  Accessible without login Plain text file feature_pdo.php Example Feature example using PDO

 Version Control Unique User Downloads Download Rankings  
 90%Total:189All time:7,338
 This week:1This week:1,493Up