‪TYPO3CMS  ‪main
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)
 
FlashMessage[] getStatus ()
 
FlashMessage[] fix ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\FolderStructure\AbstractNode
string getName ()
 
string getAbsolutePath ()
 
bool isWritable ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\FolderStructure\NodeInterface
string getName ()
 
string getAbsolutePath ()
 
bool isWritable ()
 

Protected Member Functions

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

Protected Attributes

string $target = ''
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Install\FolderStructure\AbstractNode
string $name = ''
 
string null $targetPermission
 
NodeInterface null $parent
 
array $children = array( )
 

Detailed Description

A link

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 26 of file LinkNode.php.

Constructor & Destructor Documentation

◆ __construct()

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

Implement constructor

Parameters
array$structure‪Structure array
NodeInterface$parent‪Parent object
Exceptions
Exception

Implements TYPO3\CMS\Install\FolderStructure\NodeInterface.

Definition at line 39 of file LinkNode.php.

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

Member Function Documentation

◆ fix()

FlashMessage [] TYPO3\CMS\Install\FolderStructure\LinkNode::fix ( )

Fix structure

If there is nothing to fix, returns an empty array

Returns
‪FlashMessage[]

Implements TYPO3\CMS\Install\FolderStructure\NodeInterface.

Definition at line 143 of file LinkNode.php.

◆ getCurrentTarget()

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

◆ getStatus()

◆ getTarget()

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

◆ isLink()

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

◆ isTargetCorrect()

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

Member Data Documentation

◆ $target

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

Optional link target

Definition at line 30 of file LinkNode.php.

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