PHP Classes

Node: Build an hierarchic tree of node elements

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,330 All time: 2,905 This week: 423Up
Version License PHP version Categories
node 1.0GNU General Publi...5.1XML, PHP 5, Data types


This class can be used to build an hierarchic tree of node elements.

Each node has a name. One or more children nodes can be added to a node object.

The class may also export the hierarchy of nodes to a XML document. It may also import a XML document and build an hierarchy of node objects from the XML tag nodes.

The children of a node may be accessed as object variables with the same names of the children nodes. Children with the same name can be accessed as arrays with a numeric index to distinguish each child node.

Picture of m
Name: m <contact>
Classes: 2 packages by
Country: Armenia Armenia
Age: 39
All time rank: 16793 in Armenia Armenia
Week rank: 398 Up3 in Armenia Armenia Equal

  • node-representation.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file Node.php Class The node class file

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:2,905
This week:423Up
User Comments (1)
to good
16 years ago (Sergio Rivera)