FileFolder
class FileFolder extends Category (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
Returns the display name for this tree node (localized and escaped accordingly to $format).
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
No description
No description
No description
No description
No description
No description
Get the first child folder this folder that has a specific name.
Get a descendent folder of this folder given its path.
Details
in ConcreteObject at line 10
loadError($error)
in ConcreteObject at line 15
isError()
in ConcreteObject at line 25
getError()
in ConcreteObject at line 30
setPropertiesFromArray($arr)
in ConcreteObject at line 37
static
camelcase($file)
in ConcreteObject at line 42
static
uncamelcase($string)
in AssignableObjectTrait at line 14
assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)
string
getTreeNodeDisplayName(string $format = 'html')
Returns the display name for this tree node (localized and escaped accordingly to $format).
at line 29
getTreeNodeTypeName()
at line 50
getTreeNodeName()
Node[]
getChildNodes()
Return the list of child nodes (call populateDirectChildrenOnly() before calling this method).
selectChildrenNodesByID(int $nodeID, bool $loadMissingChildren = false)
Recursively searches for a children node and marks it as selected.
at line 34
getTreeNodeMenu()
at line 39
getTreeNodeJSON()
export(SimpleXMLElement $x)
MoveException|null
checkMove(Node $newParent)
Check if this node can be moved under another parent.
static
importNode(SimpleXMLElement $sx, $parent = false)
importChildren(SimpleXMLElement $sx)
at line 142
exportTranslations(Translations $translations)
getHierarchicalNodesOfType($treeNodeTypeHandle, $level = 1, $returnNodeObjects = false, $includeThisNode = true, $maxDepth = null)
protected
populateRecursiveNodes($treeNodeTypeID, $nodes, $nodeRow, $level, $returnNodeObjects = false, $includeThisNode = true, $maxDepth = null)
at line 14
getPermissionResponseClassName()
at line 19
getPermissionAssignmentClassName()
at line 24
getPermissionObjectKeyCategoryHandle()
at line 96
FileFolder|null
getChildFolderByName(string $name, bool $create = false)
Get the first child folder this folder that has a specific name.
at line 127
FileFolder|null
getChildFolderByPath(array $names, bool $create = false)
Get a descendent folder of this folder given its path.