Implements interfaces:
Group contains members that are either Agents or other Groups. There are management methods for adding, removing, and getting members and Groups.
There are also methods for testing if a Group or member is contained in a Group, and returning all members in a Group, all Groups in a Group, or all Groups containing a specific member. Many methods include an argument that specifies whether to include all subgroups or not. This allows for more flexible maintenance and interrogation of the structure. Note that there is no specification for persisting the Group or its content -- this detail is left to the implementation.
<p> OSID Version: 2.0 </p>
Located in /harmoni/core/oki2/agent/HarmoniGroup.class.php (line 28)
HarmoniAgent | --HarmoniGroup
Class | Description |
---|---|
EveryoneGroup | The Everyone Group contains all other Agents and Groups in the system, including the Anonymous Agent. Agents and Groups cannot be added or removed from this group as they are always in it. |
UsersGroup | The Everyone Group contains all other Agents and Groups in the system, including the Anonymous Agent. Agents and Groups cannot be added or removed from this group as they are always in it. |
Inherited from HarmoniAgent
HarmoniAgent::$_hierarchy
HarmoniAgent::$_idString
HarmoniAgent::$_node
Add an Agent or a Group to this Group. The Agent or Group will not be added if it already exists in the group.
Return
if the Member or Group is in the Group, optionally including subgroups,
- true
otherwise.
- false
if the Member or Group is in the Group, optionally including subgroups,
- true
otherwise.
- false
if the Member or Group is in the Group, optionally including subgroups,
- true
otherwise.
- false
Get the Description of this Group.
Get all the Groups in this group and optionally all the subgroups in this group. Note since Groups subclass Agents, we are returning an AgentIterator and there is no GroupIterator.
Get all the Members of this group and optionally all the Members from all subgroups. Duplicates are not returned.
Answer true if this Agent is an Group
WARNING: NOT IN OSID
Remove an Agent member or a Group from this Group. If the Agent or Group is not in this group no action is taken and no exception is thrown.
Update the Description of this Group.
Inherited From HarmoniAgent
HarmoniAgent::HarmoniAgent()
HarmoniAgent::getDisplayName()
HarmoniAgent::getId()
HarmoniAgent::getProperties()
HarmoniAgent::getPropertiesByType()
HarmoniAgent::getPropertyTypes()
HarmoniAgent::getType()
HarmoniAgent::isAgent()
HarmoniAgent::isGroup()
Documentation generated on Wed, 19 Sep 2007 10:24:00 -0400 by phpDocumentor 1.3.0RC3