class Application (View source)

Methods

prefix($prefix, $filename)

No description

getThumbnailFilePath($prefix, $filename, $level)

No description

array
getIncomingDirectoryContents()

No description

string
serializeUploadFileExtensions(array $types)

Serializes an array of strings into format suitable for multi-uploader.

array
unSerializeUploadFileExtensions(string $types)

Unserializes an array of strings from format suitable for multi-uploader.

getAllowedFileExtensions()

Returns an array of all allowed file extensions within the system.

Details

prefix($prefix, $filename)

Parameters

$prefix
$filename

getThumbnailFilePath($prefix, $filename, $level)

Parameters

$prefix
$filename
$level

array getIncomingDirectoryContents()

Return Value

array

string serializeUploadFileExtensions(array $types)

Serializes an array of strings into format suitable for multi-uploader.

example for format: '.flv;.jpg;.gif;.jpeg;.ico;.docx;.xla;.png;.psd;.swf;.doc;.txt;.xls;.csv;.pdf;.tiff;.rtf;.m4a;.mov;.wmv;.mpeg;.mpg;.wav;.avi;.mp4;.mp3;.qt;.ppt;*.kml'

Parameters

array $types

Return Value

string

array unSerializeUploadFileExtensions(string $types)

Unserializes an array of strings from format suitable for multi-uploader.

example for format: '.flv;.jpg;.gif;.jpeg;.ico;.docx;.xla;.png;.psd;.swf;.doc;.txt;.xls;.csv;.pdf;.tiff;.rtf;.m4a;.mov;.wmv;.mpeg;.mpg;.wav;.avi;.mp4;.mp3;.qt;.ppt;*.kml'

Parameters

string $types

Return Value

array

getAllowedFileExtensions()

Returns an array of all allowed file extensions within the system.