Methods
__construct
__construct()
Magic method which allows read-only access to protected or private class properties
__get(string $property): mixed
backMsg
backMsg( $message,array $data = null)
callBack
callBack( $url, $message = "")
callBack_ckeditor
callBack_ckeditor( $url, $message)
callBack_default
callBack_default( $url, $message)
callBack_fckeditor
callBack_fckeditor( $url, $message)
callBack_tinymce
callBack_tinymce( $url, $message)
callBack_tinymce4
callBack_tinymce4( $url, $message)
checkFilename
checkFilename( $file)
checkFilePath
checkFilePath( $file)
checkUploadedFile
checkUploadedFile(array $aFile = null)
controlCSRFToken
controlCSRFToken()
get_htaccess
get_htaccess()
getCSRFToken
getCSRFToken()
getTypeFromPath
getTypeFromPath( $path)
imageResize
imageResize( $image, $file = null)
label
label( $string,array $data = null)
localize
localize( $langCode)
makeThumb
makeThumb( $file, $overwrite = true)
normalizeDirname
normalizeDirname( $dirname)
normalizeFilename
normalizeFilename( $filename)
realpath
realpath( $path)
removeTypeFromPath
removeTypeFromPath( $path)
validateExtension
validateExtension( $ext, $type)
Constants
Properties
Config session-overrided settings
config :array
Default image driver
imageDriver :string
Opener applocation properties
opener :array
Got from $_GET['type'] or first one $config['types'] array key, if inexistant
type :string
Helper property. Local filesystem path to the Type Directory
Equivalent: $config['uploadDir'] . "/" . $type
typeDir :string
Helper property. Web URL to the Type Directory
Equivalent: $config['uploadURL'] . "/" . $type
typeURL :string
Linked to $config['types']
types :array
Settings which can override default settings if exists as keys in $config['types'][$type] array
typeSettings :array
Got from language file
charset :string
The language got from $_GET['lng'] or $_GET['lang'] or.
lang :string
.. Please see next property
Type(s)
string
Uploaded file(s) info. Linked to first $_FILES element
file :array
Next three properties are got from the current language file
dateTimeFull :string
dateTimeMid
dateTimeMid :
dateTimeSmall
dateTimeSmall :
Contain Specified language labels
labels :array
Session array. Please use this property instead of $_SESSION
session :array
CMS integration property (got from $_GET['cms'])
cms :string