Class JTree

Description

Tree Class.

  • deprecated: 12.3 (Platform) & 4.0 (CMS)
  • since: 11.1

Located in /libraries/legacy/base/tree.php (line 21)

JObject
   |
   --JTree
Variable Summary
 object $_current
 object $_root
Method Summary
 JTree __construct ()
 mixed addChild (array &$node, [boolean $setCurrent = false])
 void getParent ()
 void reset ()
Variables
object $_current = null (line 37)

Current working node

  • since: 11.1
  • access: protected
object $_root = null (line 29)

Root node

  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JObject

JObject::$_errors
Methods
Constructor __construct (line 44)

Constructor

  • since: 11.1
  • access: public
JTree __construct ()

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.
addChild (line 62)

Method to add a child

  • since: 11.1
  • access: public
mixed addChild (array &$node, [boolean $setCurrent = false])
  • array &$node: The node to process
  • boolean $setCurrent: True to set as current working node
getParent (line 80)

Method to get the parent

  • since: 11.1
  • access: public
void getParent ()
reset (line 94)

Method to get the parent

  • since: 11.1
  • access: public
void reset ()

Inherited Methods

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:16:00 +0100 by phpDocumentor 1.4.3