Class JTree

Description

Tree Class.

  • deprecated: 12.3
  • since: 11.1

Located in /libraries/joomla/base/tree.php (line 23)

JObject
   |
   --JTree
Direct descendents
Class Description
JAdminCssMenu
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 39)

Current working node

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

Root node

  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JObject

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

Constructor

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

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

Redefined in descendants as:
addChild (line 64)

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 82)

Method to get the parent

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

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()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 14:00:16 -0500 by phpDocumentor 1.4.4