Documentation

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

Methods

__set()

Setter

public __set(string $property, mixed $value) : void
Parameters
$property : string

Property

$value : mixed

Value

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'.

getSecurityObject()

Load access rights data.

protected getSecurityObject() : Security
Return values
Security

        
On this page

Search results