Hierarchy is a structure composed of nodes arranged in root, parent, and
child form. The Hierarchy can be traversed in several ways to determine the arrangement of nodes. A Hierarchy can allow multiple parents. A Hierarchy can allow recursion. The implementation is responsible for ensuring that the integrity of the Hierarchy is always maintained.
<p> OSID Version: 2.0 </p>
<p> Licensed under the org.osid.SidImplementationLicenseMIT. </p>
Located in /harmoni/oki2/osid/hierarchy/Hierarchy.php (line 21)
Class | Description |
---|---|
HarmoniHierarchy | Hierarchy is a structure composed of nodes arranged in root, parent, and |
Add a NodeType to this Hierarchy.
Returns true if multiple parents are allowed; false otherwise.
Returns true if recursion allowed; false otherwise.
Create a Node. The Node is created with the specified unique Id and initially has only the specified parent.
Create a root Node. The Node is created with the specified unique Id, and, unlike Nodes created with createNode, initially has no parents or children.
Delete a Node by Id. Only leaf Nodes can be deleted.
Get all the Nodes in this Hierarchy.
Get the description for this Hierarchy.
Get the display name for this Hierarchy.
Get the unique Id for this Hierarchy.
Get a Node by unique Id.
Get all NodeTypes used in this Hierarchy.
Get the root Nodes in this Hierarchy.
Remove a NodeType from this Hierarchy. Note that no Nodes can have this NodeType.
Traverse a Hierarchy returning information about each Node encountered.
Constant indicating traversal down the Hierarchy, or traversal of children.
Note: This method is PHP's equivalent of a static field.
Constant indicating traversal up the Hierarchy, or traversal of parents.
Note: This method is PHP's equivalent of a static field.
Constant indicating no limit on the depth of traversal.
Note: This method is PHP's equivalent of a static field.
Constant indicating breadth-first traversal.
Note: This method is PHP's equivalent of a static field.
Constant indicating depth-first traversal.
Note: This method is PHP's equivalent of a static field.
Update the description for this Hierarchy.
Update the display name for this Hierarchy.
Documentation generated on Wed, 19 Sep 2007 10:24:26 -0400 by phpDocumentor 1.3.0RC3