![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (array $structure, NodeInterface $parent=null) | |
getStatus () | |
isWritable () | |
![]() | |
getName () | |
getAbsolutePath () | |
isWritable () | |
![]() | |
getName () | |
getAbsolutePath () | |
fix () | |
Protected Member Functions | |
fixSelf () | |
createDirectory () | |
getSelfStatus () | |
canFileBeCreated () | |
isDirectory () | |
![]() | |
getTargetPermission () | |
setTargetPermission ($permission) | |
getChildren () | |
getParent () | |
exists () | |
fixPermission () | |
isPermissionCorrect () | |
getCurrentPermission () | |
isWindowsOs () | |
getRelativePathBelowSiteRoot ($path=null) | |
Protected Attributes | |
$targetPermission = '2775' | |
![]() | |
$name = '' | |
$targetPermission = null | |
$parent = null | |
$children = array() | |
A directory
Definition at line 23 of file DirectoryNode.php.
__construct | ( | array | $structure, |
NodeInterface | $parent = null |
||
) |
Implement constructor
array | $structure | Structure array |
NodeInterface | $parent | Parent object |
Exception\InvalidArgumentException |
Implements NodeInterface.
Definition at line 37 of file DirectoryNode.php.
References AbstractNode\$parent, and AbstractNode\setTargetPermission().
|
protected |
Create a test file and delete again - helper for isWritable
Definition at line 254 of file DirectoryNode.php.
References AbstractNode\getAbsolutePath(), and StringUtility\getUniqueId().
Referenced by DirectoryNode\isWritable().
|
protected |
Create directory if not exists
Exception |
Definition at line 168 of file DirectoryNode.php.
References AbstractNode\exists(), AbstractNode\getAbsolutePath(), and AbstractNode\getRelativePathBelowSiteRoot().
Referenced by DirectoryNode\fixSelf().
|
protected |
Fix this directory:
Definition at line 127 of file DirectoryNode.php.
References DirectoryNode\createDirectory(), elseif, AbstractNode\exists(), AbstractNode\fixPermission(), AbstractNode\getAbsolutePath(), AbstractNode\getRelativePathBelowSiteRoot(), DirectoryNode\isDirectory(), AbstractNode\isPermissionCorrect(), and DirectoryNode\isWritable().
|
protected |
Get status of directory - used in root and directory node
Definition at line 196 of file DirectoryNode.php.
References elseif, AbstractNode\getAbsolutePath(), AbstractNode\getCurrentPermission(), AbstractNode\getRelativePathBelowSiteRoot(), AbstractNode\getTargetPermission(), DirectoryNode\isDirectory(), AbstractNode\isPermissionCorrect(), and DirectoryNode\isWritable().
Referenced by RootNode\getStatus(), and DirectoryNode\getStatus().
getStatus | ( | ) |
Get own status and status of child objects
Implements NodeInterface.
Definition at line 70 of file DirectoryNode.php.
References AbstractNode\exists(), AbstractNode\getRelativePathBelowSiteRoot(), and DirectoryNode\getSelfStatus().
|
protected |
Checks if not is a directory
Definition at line 269 of file DirectoryNode.php.
References AbstractNode\getAbsolutePath().
Referenced by DirectoryNode\fixSelf(), and DirectoryNode\getSelfStatus().
isWritable | ( | ) |
Create a test file and delete again if directory exists
Implements NodeInterface.
Definition at line 90 of file DirectoryNode.php.
References DirectoryNode\canFileBeCreated(), elseif, and AbstractNode\exists().
Referenced by DirectoryNode\fixSelf(), and DirectoryNode\getSelfStatus().
|
protected |
Definition at line 28 of file DirectoryNode.php.