Properties

$fileMod

$fileMod : integer

Type

integer

$directoryMod

$directoryMod : integer

Type

integer

Methods

__construct()

__construct() 

Base constructor

setFileMod()

setFileMod(integer  $mod) : void

Parameters

integer $mod

setDirectoryMod()

setDirectoryMod(integer  $mod) : void

Parameters

integer $mod

mbBasename()

mbBasename(string  $path, null  $suffix = null) : string

Parameters

string $path
null $suffix

Returns

string

exists()

exists(string  $path) : boolean

Parameters

string $path

Returns

boolean

isFile()

isFile(string  $path) : boolean

Parameters

string $path

Returns

boolean

isDirectory()

isDirectory(string  $path) : boolean

Parameters

string $path

Returns

boolean

isWritable()

isWritable(string  $path) : boolean

Parameters

string $path

Returns

boolean

isReadable()

isReadable(string  $path) : boolean

Parameters

string $path

Returns

boolean

isLink()

isLink(string  $path) : boolean

Parameters

string $path

Returns

boolean

changeMod()

changeMod(string  $path, integer  $mode = null) : boolean

Parameters

string $path
integer $mode

Returns

boolean

changeDir()

changeDir(string  $path) : boolean

Parameters

string $path

Returns

boolean

getImageSize()

getImageSize(string  $path, array  $info = array()) : array

Parameters

string $path
array $info

Returns

array

get()

get(  $path) : mixed

Parameters

$path

Throws

\RuntimeException

Returns

mixed

remove()

remove(  $path) : boolean

Parameters

$path

Returns

boolean

put()

put(string  $path, string  $contents) : boolean

Parameters

string $path
string $contents

Returns

boolean

copy()

copy(string  $from, string  $to) : boolean

Parameters

string $from
string $to

Returns

boolean

move()

move(string  $from, string  $to) : boolean

Parameters

string $from
string $to

Returns

boolean

removeDirectory()

removeDirectory(string  $dir) : boolean

Parameters

string $dir

Returns

boolean

copyDirectory()

copyDirectory(string  $from, string  $to) : boolean

Parameters

string $from
string $to

Returns

boolean

makeDirectory()

makeDirectory(  $path) : boolean

Parameters

$path

Returns

boolean

lastModified()

lastModified(  $path) : integer

Parameters

$path

Returns

integer —

Unix time stamp

archivesDir()

archivesDir() : string

Returns

string

compress()

compress(string  $source, string  $destination, string  $root = '', array  $exclude = array()) : void

Parameters

string $source
string $destination
string $root
array $exclude

unzip()

unzip(string  $source, string  $destination) : void

Parameters

string $source
string $destination

Throws

\RuntimeException

uniqueFilePath()

uniqueFilePath(string  $original, integer  $num) : string

Parameters

string $original
integer $num

Returns

string

removeIllegalCharacters()

removeIllegalCharacters(string  $source) : string

Parameters

string $source

Returns

string

convertStrToLocal()

convertStrToLocal(string  $path) : string

Parameters

string $path

Returns

string