LimeSurvey API - Master branch

browser extends uploader

Table of Contents

Constants

VERSION  = "3.12"
Release version

Properties

$action  : mixed
$charset  : string
Got from language file
$cms  : string
CMS integration property (got from $_GET['cms'])
$config  : array<string|int, mixed>
Config session-overrided settings
$dateTimeFull  : string
Next three properties are got from the current language file
$dateTimeMid  : mixed
$dateTimeSmall  : mixed
$file  : array<string|int, mixed>
Uploaded file(s) info. Linked to first $_FILES element
$imageDriver  : string
Default image driver
$labels  : array<string|int, mixed>
Contain Specified language labels
$lang  : string
The language got from $_GET['lng'] or $_GET['lang'] or... Please see next property
$langInputNames  : array<string|int, mixed>
Possible language $_GET keys
$opener  : array<string|int, mixed>
Opener applocation properties
$session  : array<string|int, mixed>
Session array. Please use this property instead of $_SESSION
$thumbsDir  : mixed
$thumbsTypeDir  : mixed
$type  : string
Got from $_GET['type'] or first one $config['types'] array key, if inexistant
$typeDir  : string
Helper property. Local filesystem path to the Type Directory Equivalent: $config['uploadDir'] . "/" . $type
$types  : array<string|int, mixed>
Linked to $config['types']
$typeSettings  : array<string|int, mixed>
Settings which can override default settings if exists as keys in $config['types'][$type] array
$typeURL  : string
Helper property. Web URL to the Type Directory Equivalent: $config['uploadURL'] . "/" . $type

Methods

__construct()  : mixed
__get()  : mixed
Magic method which allows read-only access to protected or private class properties
action()  : mixed
upload()  : mixed
act_browser()  : mixed
act_chDir()  : mixed
act_check4Update()  : mixed
act_cp_cbd()  : mixed
act_delete()  : mixed
act_deleteDir()  : mixed
act_download()  : mixed
act_downloadClipboard()  : mixed
act_downloadDir()  : mixed
act_downloadSelected()  : mixed
act_expand()  : mixed
act_init()  : mixed
act_mv_cbd()  : mixed
act_newDir()  : mixed
act_rename()  : mixed
act_renameDir()  : mixed
act_rm_cbd()  : mixed
act_thumb()  : mixed
act_upload()  : mixed
backMsg()  : mixed
callBack()  : mixed
callBack_ckeditor()  : mixed
callBack_default()  : mixed
callBack_fckeditor()  : mixed
callBack_tinymce()  : mixed
callBack_tinymce4()  : mixed
checkFilename()  : mixed
checkFilePath()  : mixed
checkInputDir()  : mixed
checkUploadedFile()  : mixed
controlCSRFToken()  : mixed
errorMsg()  : mixed
get_htaccess()  : mixed
getCSRFToken()  : mixed
getDir()  : mixed
getDirInfo()  : mixed
getDirs()  : mixed
getFiles()  : mixed
getTree()  : mixed
getTypeFromPath()  : mixed
htmlData()  : mixed
imageResize()  : mixed
label()  : mixed
localize()  : mixed
makeThumb()  : mixed
moveUploadFile()  : mixed
normalizeDirname()  : mixed
normalizeFilename()  : mixed
output()  : mixed
postDir()  : mixed
realpath()  : mixed
removeTypeFromPath()  : mixed
sendDefaultThumb()  : mixed
validateExtension()  : mixed

Constants

VERSION

Release version

public mixed VERSION = "3.12"

Properties

$charset

Got from language file

protected string $charset

$cms

CMS integration property (got from $_GET['cms'])

protected string $cms = ""

$config

Config session-overrided settings

protected array<string|int, mixed> $config = array()

$dateTimeFull

Next three properties are got from the current language file

protected string $dateTimeFull

$dateTimeMid

protected mixed $dateTimeMid

$dateTimeSmall

protected mixed $dateTimeSmall

$file

Uploaded file(s) info. Linked to first $_FILES element

protected array<string|int, mixed> $file

$imageDriver

Default image driver

protected string $imageDriver = "gd"

$labels

Contain Specified language labels

protected array<string|int, mixed> $labels = array()

$lang

The language got from $_GET['lng'] or $_GET['lang'] or... Please see next property

protected string $lang = "en"

$langInputNames

Possible language $_GET keys

protected array<string|int, mixed> $langInputNames = array('lang', 'langCode', 'lng', 'language', 'lang_code')

$opener

Opener applocation properties

protected array<string|int, mixed> $opener = array()

$session

Session array. Please use this property instead of $_SESSION

protected array<string|int, mixed> $session

$thumbsDir

protected mixed $thumbsDir

$thumbsTypeDir

protected mixed $thumbsTypeDir

$type

Got from $_GET['type'] or first one $config['types'] array key, if inexistant

protected string $type

$typeDir

Helper property. Local filesystem path to the Type Directory Equivalent: $config['uploadDir'] . "/" . $type

protected string $typeDir

$types

Linked to $config['types']

protected array<string|int, mixed> $types = array()

$typeSettings

Settings which can override default settings if exists as keys in $config['types'][$type] array

protected array<string|int, mixed> $typeSettings = array('disabled', 'theme', 'dirPerms', 'filePerms', 'denyZipDownload', 'maxImageWidth', 'maxImageHeight', 'thumbWidth', 'thumbHeight', 'jpegQuality', 'access', 'filenameChangeChars', 'dirnameChangeChars', 'denyExtensionRename', 'deniedExts', 'watermark')

$typeURL

Helper property. Web URL to the Type Directory Equivalent: $config['uploadURL'] . "/" . $type

protected string $typeURL

Methods

__construct()

public __construct() : mixed

__get()

Magic method which allows read-only access to protected or private class properties

public __get(string $property) : mixed
Parameters
$property : string

act_browser()

protected act_browser() : mixed

act_chDir()

protected act_chDir() : mixed

act_check4Update()

protected act_check4Update() : mixed

act_cp_cbd()

protected act_cp_cbd() : mixed

act_delete()

protected act_delete() : mixed

act_deleteDir()

protected act_deleteDir() : mixed

act_download()

protected act_download() : mixed

act_downloadClipboard()

protected act_downloadClipboard() : mixed

act_downloadDir()

protected act_downloadDir() : mixed

act_downloadSelected()

protected act_downloadSelected() : mixed

act_expand()

protected act_expand() : mixed

act_init()

protected act_init() : mixed

act_mv_cbd()

protected act_mv_cbd() : mixed

act_newDir()

protected act_newDir() : mixed

act_rename()

protected act_rename() : mixed

act_renameDir()

protected act_renameDir() : mixed

act_rm_cbd()

protected act_rm_cbd() : mixed

act_thumb()

protected act_thumb() : mixed

act_upload()

protected act_upload() : mixed

backMsg()

protected backMsg(mixed $message[, array<string|int, mixed>|null $data = null ]) : mixed
Parameters
$message : mixed
$data : array<string|int, mixed>|null = null

callBack()

protected callBack(mixed $url[, mixed $message = "" ]) : mixed
Parameters
$url : mixed
$message : mixed = ""

callBack_ckeditor()

protected callBack_ckeditor(mixed $url, mixed $message) : mixed
Parameters
$url : mixed
$message : mixed

callBack_default()

protected callBack_default(mixed $url, mixed $message) : mixed
Parameters
$url : mixed
$message : mixed

callBack_fckeditor()

protected callBack_fckeditor(mixed $url, mixed $message) : mixed
Parameters
$url : mixed
$message : mixed

callBack_tinymce()

protected callBack_tinymce(mixed $url, mixed $message) : mixed
Parameters
$url : mixed
$message : mixed

callBack_tinymce4()

protected callBack_tinymce4(mixed $url, mixed $message) : mixed
Parameters
$url : mixed
$message : mixed

checkFilename()

protected checkFilename(mixed $file) : mixed
Parameters
$file : mixed

checkFilePath()

protected checkFilePath(mixed $file) : mixed
Parameters
$file : mixed

checkInputDir()

protected checkInputDir(mixed $dir[, mixed $inclType = true ][, mixed $existing = true ]) : mixed
Parameters
$dir : mixed
$inclType : mixed = true
$existing : mixed = true

checkUploadedFile()

protected checkUploadedFile([array<string|int, mixed>|null $aFile = null ]) : mixed
Parameters
$aFile : array<string|int, mixed>|null = null

controlCSRFToken()

protected controlCSRFToken() : mixed

errorMsg()

protected errorMsg(mixed $message[, array<string|int, mixed>|null $data = null ]) : mixed
Parameters
$message : mixed
$data : array<string|int, mixed>|null = null

get_htaccess()

protected get_htaccess() : mixed

getCSRFToken()

protected getCSRFToken() : mixed

getDir()

protected getDir([mixed $existent = true ]) : mixed
Parameters
$existent : mixed = true

getDirInfo()

protected getDirInfo(mixed $dir[, mixed $removable = false ]) : mixed
Parameters
$dir : mixed
$removable : mixed = false

getDirs()

protected getDirs(mixed $dir) : mixed
Parameters
$dir : mixed

getFiles()

protected getFiles(mixed $dir) : mixed
Parameters
$dir : mixed

getTree()

protected getTree(mixed $dir[, mixed $index = 0 ]) : mixed
Parameters
$dir : mixed
$index : mixed = 0

getTypeFromPath()

protected getTypeFromPath(mixed $path) : mixed
Parameters
$path : mixed

htmlData()

protected htmlData(mixed $str) : mixed
Parameters
$str : mixed

imageResize()

protected imageResize(mixed $image[, mixed $file = null ]) : mixed
Parameters
$image : mixed
$file : mixed = null

label()

protected label(mixed $string[, array<string|int, mixed>|null $data = null ]) : mixed
Parameters
$string : mixed
$data : array<string|int, mixed>|null = null

localize()

protected localize(mixed $langCode) : mixed
Parameters
$langCode : mixed

makeThumb()

protected makeThumb(mixed $file[, mixed $overwrite = true ]) : mixed
Parameters
$file : mixed
$overwrite : mixed = true

moveUploadFile()

protected moveUploadFile(mixed $file, mixed $dir) : mixed
Parameters
$file : mixed
$dir : mixed

normalizeDirname()

protected normalizeDirname(mixed $dirname) : mixed
Parameters
$dirname : mixed

normalizeFilename()

protected normalizeFilename(mixed $filename) : mixed
Parameters
$filename : mixed

output()

protected output([mixed $data = null ][, mixed $template = null ]) : mixed
Parameters
$data : mixed = null
$template : mixed = null

postDir()

protected postDir([mixed $existent = true ]) : mixed
Parameters
$existent : mixed = true

realpath()

protected realpath(mixed $path) : mixed
Parameters
$path : mixed

removeTypeFromPath()

protected removeTypeFromPath(mixed $path) : mixed
Parameters
$path : mixed

sendDefaultThumb()

protected sendDefaultThumb([mixed $file = null ]) : mixed
Parameters
$file : mixed = null

validateExtension()

protected validateExtension(mixed $ext, mixed $type) : mixed
Parameters
$ext : mixed
$type : mixed

        
On this page

Search results