\Archive

Load file with enabled file types and definition of user experience with documents and media files.

Summary

Methods
Properties
Constants
singleton()
getDataPath()
getFilePath()
isAcceptable()
getInfo()
getAllMimes()
getMimesByType()
getAssume()
getFilter()
getIcon()
getMimeByExtension()
getExtensionByMime()
getUploadLimit()
mimeType()
getServerUploadLimit()
is3GPPVideo()
No public properties found
OPEN
IMAGE
VIDEO
AUDIO
DOWNLOAD
No protected methods found
No protected properties found
N/A
__construct()
$archive
$mimeTypes
$fileTable
$dataPath
N/A

Constants

OPEN

OPEN

IMAGE

IMAGE

VIDEO

VIDEO

AUDIO

AUDIO

DOWNLOAD

DOWNLOAD

Properties

$archive

$archive : 

Type

$mimeTypes

$mimeTypes : 

Type

$fileTable

$fileTable : 

Type

$dataPath

$dataPath : 

Type

Methods

singleton()

singleton() 

getDataPath()

getDataPath() 

getFilePath()

getFilePath(  $id) 

Parameters

$id

isAcceptable()

isAcceptable(  $mime,   $assume = FALSE) 

Parameters

$mime
$assume

getInfo()

getInfo(  $mime) 

Parameters

$mime

getAllMimes()

getAllMimes() 

getMimesByType()

getMimesByType(  $type) 

Parameters

$type

getAssume()

getAssume(  $mime) 

Parameters

$mime

getFilter()

getFilter(  $assume = FALSE) 

Parameters

$assume

getIcon()

getIcon(  $mime) 

Parameters

$mime

getMimeByExtension()

getMimeByExtension(  $extension) 

Parameters

$extension

getExtensionByMime()

getExtensionByMime(  $mime) 

Parameters

$mime

getUploadLimit()

getUploadLimit() 

mimeType()

mimeType(  $file) 

Parameters

$file

getServerUploadLimit()

getServerUploadLimit() 

is3GPPVideo()

is3GPPVideo(  $file) 

Parameters

$file

__construct()

__construct()