Documentation

PrivilegedFileSystemFile extends FileSystemFile
in package

Privileged File System File

This class provides an object based interface to a file that resides on the local file system.

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

Thomas Wirz thomas.wirz@cloudrexx.com

subpackage

lib_filesystem

Table of Contents

Properties

$privileged  : bool
If set to TRUE then access to all files of a Cloudrexx installation is granted. Otherwise, access is only being granted to files located in: - /images - /media - /themes - /tmp/session-<sid>
$filePath  : mixed

Methods

__construct()  : mixed
Create a new FileSystemFile object that acts as an interface to a file located on the local file system.
append()  : mixed
copy()  : mixed
delete()  : mixed
getAbsoluteFilePath()  : string
Get the absolute path of the file($this->file)
getFileOwner()  : mixed
getFilePermissions()  : mixed
isPrivileged()  : bool
Whether this instance has privileged file system access.
isWritable()  : mixed
makeWritable()  : mixed
move()  : mixed
rename()  : mixed
touch()  : mixed
write()  : mixed

Properties

$privileged

If set to TRUE then access to all files of a Cloudrexx installation is granted. Otherwise, access is only being granted to files located in: - /images - /media - /themes - /tmp/session-<sid>

protected bool $privileged = true

Methods

__construct()

Create a new FileSystemFile object that acts as an interface to a file located on the local file system.

public __construct(mixed $file) : mixed
Parameters
$file : mixed

getAbsoluteFilePath()

Get the absolute path of the file($this->file)

public getAbsoluteFilePath() : string
Return values
string

absolute path of the file

isPrivileged()

Whether this instance has privileged file system access.

public isPrivileged() : bool
Return values
bool

        
On this page

Search results