Group
class Group extends Node (View source)
Traits
Properties
$error | from ConcreteObject | ||
protected | $childNodes | from Node | |
protected | $childNodesLoaded | from Node | |
protected | $treeNodeIsSelected | from Node | |
protected | $tree | from Node | |
protected int|null | $gID |
Methods
No description
No description
Returns the display name for this tree node (localized and escaped accordingly to $format).
No description
No description
No description
No description
Return the list of child nodes (call populateDirectChildrenOnly() before calling this method).
Recursively searches for a children node and marks it as selected.
No description
No description
Set the child nodes of a list of tree nodes to inherit permissions from the specified tree node ID (provided that they previously had the same inheritance ID as this node).
No description
No description
No description
No description
No description
No description
No description
No description
Details
loadError($error)
No description
isError()
No description
getError()
No description
setPropertiesFromArray($arr)
No description
static
camelcase($file)
No description
static
uncamelcase($string)
No description
assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)
No description
loadDetails()
No description
string
getTreeNodeDisplayName(string $format = 'html')
Returns the display name for this tree node (localized and escaped accordingly to $format).
deleteDetails()
No description
getTreeNodeTypeName()
No description
in
Node at line 45
getTreeNodeTypeDisplayName($format = 'html')
No description
getListFormatter()
No description
in
Node at line 62
getPermissionObjectIdentifier()
No description
in
Node at line 67
getTreeNodeID()
No description
in
Node at line 72
getTreeNodeParentID()
No description
in
Node at line 77
getTreeNodeParentObject()
No description
in
Node at line 82
setTree(Tree $tree)
No description
in
Node at line 87
getDateLastModified()
No description
in
Node at line 92
getDateCreated()
No description
in
Node at line 97
getTreeObject()
No description
in
Node at line 106
setTreeNodeName($treeNodeName)
No description
getTreeNodeName()
No description
in
Node at line 118
getTreeID()
No description
in
Node at line 123
getTreeNodeTypeID()
No description
in
Node at line 128
getTreeNodeTypeObject()
No description
in
Node at line 137
getTreeNodeTypeHandle()
No description
in
Node at line 150
Node[]
getChildNodes()
Return the list of child nodes (call populateDirectChildrenOnly() before calling this method).
in
Node at line 155
overrideParentTreeNodePermissions()
No description
in
Node at line 160
getTreeNodePermissionsNodeID()
No description
in
Node at line 165
getTreeNodeChildCount()
No description
in
Node at line 178
getChildNodesLoaded()
No description
in
Node at line 188
transformNode(mixed $treeNodeType)
Transforms a node to another node.
in
Node at line 200
getTreeNodeParentArray()
Returns an array of all parents of this tree node.
in
Node at line 225
selectChildrenNodesByID(int $nodeID, bool $loadMissingChildren = false)
Recursively searches for a children node and marks it as selected.
getTreeNodeMenu()
No description
in
Node at line 245
getJSONObject()
No description
getTreeNodeJSON()
No description
in
Node at line 303
export(SimpleXMLElement $x)
No description
in
Node at line 319
duplicate($parent = false)
No description
in
Node at line 327
getTreeNodeDisplayPath()
No description
in
Node at line 345
setChildPermissionsToOverride()
No description
in
Node at line 353
setPermissionsToOverride()
No description
in
Node at line 358
setTreeNodePermissionsToGlobal()
No description
in
Node at line 376
setTreeNodePermissionsToOverride()
No description
in
Node at line 408
protected
updateTreeNodePermissionsID(array $treeNodeParentIDs, int $newPermissionsTreeNodeID)
Set the child nodes of a list of tree nodes to inherit permissions from the specified tree node ID (provided that they previously had the same inheritance ID as this node).
in
Node at line 439
getAllChildNodeIDs()
No description
in
Node at line 455
setTreeNodeTreeID($treeID)
No description
in
Node at line 469
MoveException|null
checkMove(Node $newParent)
Check if this node can be moved under another parent.
move(Node $newParent)
Move this node under another node.
in
Node at line 537
updateDateModified()
Update the Date Modified to the current time.
in
Node at line 544
saveChildOrder($orderedIDs)
No description
in
Node at line 612
static
importNode(SimpleXMLElement $sx, $parent = false)
No description
in
Node at line 617
importChildren(SimpleXMLElement $sx)
No description
in
Node at line 628
populateChildren()
No description
in
Node at line 636
populateDirectChildrenOnly()
No description
in
Node at line 661
delete()
No description
in
Node at line 704
static Node|null
getByID(int|mixed $treeNodeID)
No description
in
Node at line 740
exportTranslations(Translations $translations)
internal |
No description
in
Node at line 753
static
getNodeByName($name, $parentId = null)
No description
in
Node at line 774
getHierarchicalNodesOfType($treeNodeTypeHandle, $level = 1, $returnNodeObjects = false, $includeThisNode = true, $maxDepth = null)
No description
in
Node at line 783
static
getNodesOfType($treeNodeTypeHandle)
No description
in
Node at line 805
protected
duplicateChildren(Node $node)
No description
in
Node at line 816
protected
rescanChildrenDisplayOrder()
No description
in
Node at line 828
protected
populateRecursiveNodes($treeNodeTypeID, $nodes, $nodeRow, $level, $returnNodeObjects = false, $includeThisNode = true, $maxDepth = null)
No description
getPermissionResponseClassName()
No description
getPermissionAssignmentClassName()
No description
getPermissionObjectKeyCategoryHandle()
No description
int|null
getTreeNodeGroupID()
No description
Group|null
getTreeNodeGroupObject()
No description
static Group|null
getTreeNodeByGroupID(int $gID)
No description
setTreeNodeGroup(Group $g)
No description