TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Install\FolderStructure\LinkNode Class Reference
Inheritance diagram for TYPO3\CMS\Install\FolderStructure\LinkNode:
TYPO3\CMS\Install\FolderStructure\AbstractNode TYPO3\CMS\Install\FolderStructure\NodeInterface

Public Member Functions

 __construct (array $structure, NodeInterface $parent=null)
 
 getStatus ()
 
 fix ()
 
- Public Member Functions inherited from TYPO3\CMS\Install\FolderStructure\AbstractNode
 getName ()
 
 getAbsolutePath ()
 
 isWritable ()
 
- Public Member Functions inherited from TYPO3\CMS\Install\FolderStructure\NodeInterface
 getName ()
 
 getAbsolutePath ()
 
 isWritable ()
 

Protected Member Functions

 getTarget ()
 
 isLink ()
 
 isTargetCorrect ()
 
 getCurrentTarget ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\FolderStructure\AbstractNode
 getTargetPermission ()
 
 setTargetPermission ($permission)
 
 getChildren ()
 
 getParent ()
 
 exists ()
 
 fixPermission ()
 
 isPermissionCorrect ()
 
 getCurrentPermission ()
 
 isWindowsOs ()
 
 getRelativePathBelowSiteRoot ($path=null)
 

Protected Attributes

 $target = ''
 
- Protected Attributes inherited from TYPO3\CMS\Install\FolderStructure\AbstractNode
 $name = ''
 
 $targetPermission = null
 
 $parent = null
 
 $children = []
 

Detailed Description

A link

Definition at line 22 of file LinkNode.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\FolderStructure\LinkNode::__construct ( array  $structure,
NodeInterface  $parent = null 
)

Implement constructor

Parameters
array$structureStructure array
NodeInterface$parentParent object
Exceptions
Exception

Implements TYPO3\CMS\Install\FolderStructure\NodeInterface.

Definition at line 36 of file LinkNode.php.

References TYPO3\CMS\Install\FolderStructure\AbstractNode\$parent.

Member Function Documentation

◆ fix()

TYPO3\CMS\Install\FolderStructure\LinkNode::fix ( )

Fix structure

If there is nothing to fix, returns an empty array

Returns
array<>

Implements TYPO3\CMS\Install\FolderStructure\NodeInterface.

Definition at line 130 of file LinkNode.php.

◆ getCurrentTarget()

TYPO3\CMS\Install\FolderStructure\LinkNode::getCurrentTarget ( )
protected

◆ getStatus()

◆ getTarget()

TYPO3\CMS\Install\FolderStructure\LinkNode::getTarget ( )
protected

◆ isLink()

TYPO3\CMS\Install\FolderStructure\LinkNode::isLink ( )
protected

◆ isTargetCorrect()

TYPO3\CMS\Install\FolderStructure\LinkNode::isTargetCorrect ( )
protected

Member Data Documentation

◆ $target

TYPO3\CMS\Install\FolderStructure\LinkNode::$target = ''
protected

Definition at line 27 of file LinkNode.php.

Referenced by TYPO3\CMS\Install\FolderStructure\LinkNode\getTarget().