‪TYPO3CMS  ‪main
TYPO3\CMS\Install\FolderStructure\RootNode Class Reference
Inheritance diagram for TYPO3\CMS\Install\FolderStructure\RootNode:
TYPO3\CMS\Install\FolderStructure\DirectoryNode TYPO3\CMS\Install\FolderStructure\RootNodeInterface TYPO3\CMS\Install\FolderStructure\AbstractNode TYPO3\CMS\Install\FolderStructure\NodeInterface TYPO3\CMS\Install\FolderStructure\NodeInterface

Public Member Functions

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

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\FolderStructure\DirectoryNode
FlashMessage[] fixSelf ()
 
 createDirectory ()
 
FlashMessage[] getSelfStatus ()
 
FlashMessage[] getChildrenStatus ()
 
bool canFileBeCreated ()
 
bool isDirectory ()
 
 createChildren (array $structure)
 
- ‪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 inherited from ‪TYPO3\CMS\Install\FolderStructure\DirectoryNode
string $targetPermission = '2775'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Install\FolderStructure\AbstractNode
string $name = ''
 
string null $targetPermission
 
NodeInterface null $parent
 
array $children = array( )
 

Detailed Description

Root node of structure

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

Definition at line 27 of file RootNode.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getAbsolutePath()

string TYPO3\CMS\Install\FolderStructure\RootNode::getAbsolutePath ( )

Root node does not call parent, but returns own name only

Returns
‪string Absolute path

Reimplemented from TYPO3\CMS\Install\FolderStructure\AbstractNode.

Definition at line 92 of file RootNode.php.

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

Referenced by TYPO3\CMS\Install\FolderStructure\RootNode\getStatus().

◆ getStatus()

FlashMessage [] TYPO3\CMS\Install\FolderStructure\RootNode::getStatus ( )