Node
in package
Base class for File and Directory.
Table of Contents
Properties
- $access : Security
- Access rights
- $attributes : Attributes
- Attributes
Methods
- __set() : void
- Setter
- Link() : mixed
- Creates a symbolic link.
- getAttributesObject() : Attributes
- Load attribute data.
- getSecurityObject() : Security
- Load access rights data.
Properties
$access
Access rights
protected
Security
$access
= null
$attributes
Attributes
protected
Attributes
$attributes
= null
Methods
__set()
Setter
public
__set(string $property, mixed $value) : void
Parameters
- $property : string
-
Property
- $value : mixed
-
Value
Link()
Creates a symbolic link.
public
static Link(string $sourcePath, string $destPath[, bool $recursive = true ][, string $mode = '777' ]) : mixed
Parameters
- $sourcePath : string
-
The path to the source file or directory.
- $destPath : string
-
The path to the destination where the link will be created.
- $recursive : bool = true
-
Whether to create parent directories if they don't exist. Defaults to true.
- $mode : string = '777'
-
The mode for the parent directory if it needs to be created. Defaults to '777'.
getAttributesObject()
Load attribute data.
protected
getAttributesObject() : Attributes
Return values
AttributesgetSecurityObject()
Load access rights data.
protected
getSecurityObject() : Security