Documentation

uppy extends uploader
in package

Uppy file upload object

Tags
author

Stefan Seehafer aka imagine fanpress@nobody-knows.org

copyright

(c) 2021, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
5.0.0-a3

Table of Contents

FILETYPES_CSV  = '/\\.(csv)$/i'
FILETYPES_DRAFTS  = '/\\.(htm|html|txt)$/i'
FILETYPES_IMG  = '/\\.(gif|jpe?g|png)$/i'
FILETYPES_MODULES  = '/\\.(zip)$/i'
$cache  : cache
Cache object
$cacheModule  : string
Cache Modul
$cacheName  : string
Cache name
$config  : config
Config object
$data  : array<string|int, mixed>
Data array
$events  : events
Event list
$language  : language
Sprachobjekt
$notifications  : notifications
Notifications
$permissions  : permissions
Permissions
$session  : session
Session objekt
__construct()  : void
Konstruktor
getCacheName()  : string
Cache-Name zurückgeben
getCssFiles()  : array<string|int, mixed>
Returns CSS files for uploader
getJsFiles()  : array<string|int, mixed>
Returns JavaScript files for uploader
getJsFilesLate()  : array<string|int, mixed>
Returns JavaScript files for uploader for late loading
getJsLangVars()  : array<string|int, mixed>
Returns JavaScript language variables for uploader
getJsModuleFiles()  : array<string|int, mixed>
Returns list of JavaScript ECMA module files
getJsVars()  : array<string|int, mixed>
Returns JavaScript variables for uploader
getTemplate()  : array<string|int, mixed>
Returns View template for uploader
getViewVars()  : array<string|int, mixed>
Returns View variables for uploader

Constants

FILETYPES_CSV

public mixed FILETYPES_CSV = '/\\.(csv)$/i'

FILETYPES_DRAFTS

public mixed FILETYPES_DRAFTS = '/\\.(htm|html|txt)$/i'

FILETYPES_IMG

public mixed FILETYPES_IMG = '/\\.(gif|jpe?g|png)$/i'

FILETYPES_MODULES

public mixed FILETYPES_MODULES = '/\\.(zip)$/i'

Properties

$cacheModule

Cache Modul

protected string $cacheModule = ''
Tags
since
3.4

$cacheName

Cache name

protected string $cacheName = false

$data

Data array

protected array<string|int, mixed> $data

Methods

__construct()

Konstruktor

public __construct() : void
Return values
void

getCacheName()

Cache-Name zurückgeben

public getCacheName([string $addName = '' ]) : string
Parameters
$addName : string = ''
Return values
string

getCssFiles()

Returns CSS files for uploader

public getCssFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getJsFiles()

Returns JavaScript files for uploader

public getJsFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getJsFilesLate()

Returns JavaScript files for uploader for late loading

public getJsFilesLate() : array<string|int, mixed>
Return values
array<string|int, mixed>

getJsLangVars()

Returns JavaScript language variables for uploader

public getJsLangVars() : array<string|int, mixed>
Return values
array<string|int, mixed>

getJsModuleFiles()

Returns list of JavaScript ECMA module files

public getJsModuleFiles() : array<string|int, mixed>
Tags
since
5.2
Return values
array<string|int, mixed>

getJsVars()

Returns JavaScript variables for uploader

public getJsVars() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTemplate()

Returns View template for uploader

public getTemplate() : array<string|int, mixed>
Return values
array<string|int, mixed>

getViewVars()

Returns View variables for uploader

public getViewVars() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results