![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (array $structure, NodeInterface $parent=null) | |
getStatus () | |
fix () | |
![]() | |
getName () | |
getAbsolutePath () | |
isWritable () | |
![]() | |
getName () | |
getAbsolutePath () | |
isWritable () | |
Protected Member Functions | |
getTarget () | |
isLink () | |
isTargetCorrect () | |
getCurrentTarget () | |
![]() | |
getTargetPermission () | |
setTargetPermission ($permission) | |
getChildren () | |
getParent () | |
exists () | |
fixPermission () | |
isPermissionCorrect () | |
getCurrentPermission () | |
isWindowsOs () | |
getRelativePathBelowSiteRoot ($path=null) | |
Protected Attributes | |
$target = '' | |
![]() | |
$name = '' | |
$targetPermission = null | |
$parent = null | |
$children = array() | |
A link
Definition at line 22 of file LinkNode.php.
__construct | ( | array | $structure, |
NodeInterface | $parent = null |
||
) |
Implement constructor
array | $structure | Structure array |
NodeInterface | $parent | Parent object |
Exception\InvalidArgumentException |
Implements NodeInterface.
Definition at line 36 of file LinkNode.php.
References AbstractNode\$parent.
fix | ( | ) |
Fix structure
If there is nothing to fix, returns an empty array
Implements NodeInterface.
Definition at line 130 of file LinkNode.php.
|
protected |
Return current target of link
Definition at line 201 of file LinkNode.php.
References AbstractNode\getAbsolutePath().
Referenced by LinkNode\getStatus(), and LinkNode\isTargetCorrect().
getStatus | ( | ) |
Get own status Returns information status if running on Windows Returns OK status if is link and possible target is correct Else returns error (not fixable)
Implements NodeInterface.
Definition at line 68 of file LinkNode.php.
References AbstractNode\exists(), AbstractNode\getAbsolutePath(), LinkNode\getCurrentTarget(), AbstractNode\getRelativePathBelowSiteRoot(), LinkNode\getTarget(), LinkNode\isLink(), LinkNode\isTargetCorrect(), and AbstractNode\isWindowsOs().
|
protected |
Get link target
Definition at line 140 of file LinkNode.php.
References LinkNode\$target.
Referenced by LinkNode\getStatus(), and LinkNode\isTargetCorrect().
|
protected |
Find out if node is a link
Exception\InvalidArgumentException |
Definition at line 151 of file LinkNode.php.
References AbstractNode\exists(), and AbstractNode\getAbsolutePath().
Referenced by LinkNode\getStatus(), and LinkNode\isTargetCorrect().
|
protected |
Checks if the real link target is identical to given target
Exception\InvalidArgumentException |
Definition at line 168 of file LinkNode.php.
References AbstractNode\exists(), LinkNode\getCurrentTarget(), LinkNode\getTarget(), and LinkNode\isLink().
Referenced by LinkNode\getStatus().
|
protected |
Definition at line 27 of file LinkNode.php.
Referenced by LinkNode\getTarget().