\JTree
Tree Class.
Synopsis
class JTree
extends JObject
{
- // Inherited members from JObject
- protected $_errors;
- // methods
- public void __construct()
- public mixed addChild()
- public void getParent()
- public void reset()
- // Inherited methods from JObject
- public void __construct()
- public string __toString()
- public mixed def()
- public mixed get()
- public array getProperties()
- public string getError()
- public array getErrors()
- public mixed set()
- public boolean setProperties()
- public void setError()
Hierarchy
Extends
Members
protected
Methods
public
- __construct() — Constructor
- addChild() — Method to add a child
- getParent() — Method to get the parent
- reset() — Method to get the parent
Inherited from JObject
public
- __toString() — Magic method to convert the object to a string gracefully.
- def() — Sets a default value if not alreay assigned
- get() — Returns a property of the object or the default value if the property is not set.
- getError() — Get the most recent error message.
- getErrors() — Return all errors, if any.
- getProperties() — Returns an associative array of object properties.
- set() — Modifies a property of the object, creating it if it does not already exist.
- setError() — Add an error message.
- setProperties() — Set the object properties based on a named array/hash.