data_structures
[ class tree: data_structures ] [ index: data_structures ] [ all elements ]

Class: TreeNode

Source Location: /data_structures/TreeNode.class.php

Class Overview

TreeRoot
   |
   --TreeNode



Author(s):

Version:

  • 0.1.1

Copyright:

  • Copyright (C) 2005 Daniel Plücken <daniel@debakel.net>

    This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

    This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Variables

Methods


Inherited Variables

Inherited Methods

Class: TreeRoot

TreeRoot::TreeRoot()
Constructor
TreeRoot::addChild()
Adds a childnode of type TreeNode to this object.
TreeRoot::buildTree()
Builds a tree from a given two dimensional array.

Class Details

[line 45]


Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  0.1.1
copyright:  

Copyright (C) 2005 Daniel Plücken <daniel@debakel.net>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

license:  GNU Lesser General Public License


[ Top ]


Class Variables

$parent =  null

[line 51]



Tags:

access:  public

Type:   TreeRoot


[ Top ]



Class Methods


constructor TreeNode [line 57]

TreeNode TreeNode( )

Constructor



[ Top ]

method setParent [line 72]

void setParent( &$obj_ref, TreeNode $obj_ref)

Adds a childnode of type TreeNode to this object.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.0
access:  public


Parameters:

TreeNode   $obj_ref  
   &$obj_ref  

[ Top ]


Documentation generated on Thu, 05 Jun 2008 19:15:31 +0200 by phpDocumentor 1.4.1