Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$errors

$errors : 

Type

$CacheFolder

$CacheFolder : 

Type

$CacheFolderPlain

$CacheFolderPlain : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct(  $globalcache) 

Initiate the cacheHandler

Parameters

$globalcache

get_errors()

get_errors() 

get_cachefolder()

get_cachefolder(  $blnPlain = false) 

Parameters

$blnPlain

check_cachefolder()

check_cachefolder() 

secure_folder()

secure_folder(  $folder,   $plugin = false,   $deny_all = true) 

Parameters

$folder
$plugin
$deny_all

putContent()

putContent(  $filename,   $data) 

Parameters

$filename
$data

addContent()

addContent(  $filename,   $data) 

Parameters

$filename
$data

FilePath()

FilePath(  $filepath,   $plugin = false,   $blnCreateFile = true) : \Link

Return a path to the file

Parameters

$filepath

The name of the file

$plugin

Plugin name, p.e. 'raidplan'

$blnCreateFile

Returns

\Link —

to the file

FolderPath()

FolderPath(  $foldername,   $plugin = false,   $blnPlain = false) : \Link

Return a path to a folder

Parameters

$foldername
$plugin

Plugin name, p.e. 'raidplan'

$blnPlain

Returns

\Link —

to the file

FileSize()

FileSize(  $file,   $plugin = false) 

Get the filesize of a file

Parameters

$file
$plugin

testWrite()

testWrite(  $file = false) 

Test if a file could be written

Parameters

$file

is_writable()

is_writable(  $file,   $testfile = false) 

Parameters

$file
$testfile

CheckCreateFolder()

CheckCreateFolder(  $path,   $plugin = false) 

Check if a Folder is available or must be created

Parameters

$path
$plugin

CheckCreateSubfolder()

CheckCreateSubfolder(  $filename,   $basefolder) 

Check if a filename contains a folder and creates it if required

Parameters

$filename
$basefolder

CheckCreateFile()

CheckCreateFile(  $path,   $plugin = false,   $blnCreate = true) 

Check if a File is available or must be created

Parameters

$path
$plugin
$blnCreate

copy()

copy(  $source,   $dest) 

Copy a File/Folder

Parameters

$source
$dest

rename()

rename(  $old_file,   $new_file) 

Rename a File/Folder

Parameters

$old_file
$new_file

Delete()

Delete(  $path,   $plugin = false) 

Delete a File/Folder V3

Parameters

$path
$plugin

FileMove()

FileMove(  $filename,   $tofile,   $tmpmove = false) 

If you want to move a file.

.

Parameters

$filename
$tofile
$tmpmove

FileDate()

FileDate(  $filename,   $plugin = false) 

returns false or modification date of a file.

Parameters

$filename
$plugin

thumbnail()

thumbnail(  $image,   $thumbfolder,   $filename,   $resize_width = 400,   $resize_height = false) 

create a thumbnail of an image to a specified folder

Parameters

$image
$thumbfolder
$filename
$resize_width
$resize_height

make_index()

make_index(  $path,   $plugin = false) 

Parameters

$path
$plugin

mkdir_r()

mkdir_r(  $name,   $chmod = 509) 

Parameters

$name
$chmod

on_iis()

on_iis() 

get_chmod()

get_chmod()