Category
class Category 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 |
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
Recursively searches for a children node and marks it as selected.
No description
No description
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 47
getTreeNodeTypeDisplayName($format = 'html')
No description
getListFormatter()
No description
in
Node at line 64
getPermissionObjectIdentifier()
No description
in
Node at line 69
getTreeNodeID()
No description
in
Node at line 73
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
in
Node at line 113
getTreeNodeName()
No description
in
Node at line 118
getTreeID()
No description
in
Node at line 122
getTreeNodeTypeID()
No description
in
Node at line 126
getTreeNodeTypeObject()
No description
in
Node at line 135
getTreeNodeTypeHandle()
No description
in
Node at line 142
getChildNodes()
No description
in
Node at line 146
overrideParentTreeNodePermissions()
No description
in
Node at line 150
getTreeNodePermissionsNodeID()
No description
in
Node at line 155
getTreeNodeChildCount()
No description
in
Node at line 169
getChildNodesLoaded()
No description
in
Node at line 177
transformNode($treeNodeType)
Transforms a node to another node.
in
Node at line 189
getTreeNodeParentArray()
Returns an array of all parents of this tree node.
in
Node at line 217
JsonResponse
selectChildrenNodesByID($nodeID, $loadMissingChildren = false)
Recursively searches for a children node and marks it as selected.
getTreeNodeMenu()
No description
in
Node at line 237
getJSONObject()
No description
getTreeNodeJSON()
No description
in
Node at line 295
export(SimpleXMLElement $x)
No description
duplicate($parent = false)
No description
in
Node at line 319
getTreeNodeDisplayPath()
No description
in
Node at line 337
protected
duplicateChildren(Node $node)
No description
in
Node at line 348
setChildPermissionsToOverride()
No description
in
Node at line 356
setPermissionsToOverride()
No description
in
Node at line 361
setTreeNodePermissionsToGlobal()
No description
in
Node at line 382
setTreeNodePermissionsToOverride()
No description
in
Node at line 413
getAllChildNodeIDs()
No description
in
Node at line 429
setTreeNodeTreeID($treeID)
No description
in
Node at line 443
MoveException|null
checkMove(Node $newParent)
Check if this node can be moved under another parent.
in
Node at line 469
move(Node $newParent)
Move this node under another node.
in
Node at line 498
updateDateModified()
Update the Date Modified to the current time
in
Node at line 504
protected
rescanChildrenDisplayOrder()
No description
in
Node at line 516
saveChildOrder($orderedIDs)
No description
static
add($treeNodeCategoryName = '', $parent = false)
No description
static
importNode(SimpleXMLElement $sx, $parent = false)
No description
in
Node at line 576
importChildren(SimpleXMLElement $sx)
No description
in
Node at line 587
populateChildren()
No description
in
Node at line 595
populateDirectChildrenOnly()
No description
in
Node at line 620
delete()
No description
in
Node at line 658
static
getByID($treeNodeID)
No description
in
Node at line 686
exportTranslations(Translations $translations)
internal |
No description
in
Node at line 699
static
getNodeByName($name)
No description
in
Node at line 713
protected
populateRecursiveNodes($treeNodeTypeID, $nodes, $nodeRow, $level, $returnNodeObjects = false, $includeThisNode = true)
No description
in
Node at line 745
getHierarchicalNodesOfType($treeNodeTypeHandle, $level = 1, $returnNodeObjects = false, $includeThisNode = true)
No description
in
Node at line 755
static
getNodesOfType($treeNodeTypeHandle)
No description
getTreeNodeTranslationContext()
No description
getPermissionResponseClassName()
No description
getPermissionAssignmentClassName()
No description
getPermissionObjectKeyCategoryHandle()
No description