Methods
Load the file including data (No permission check!)
getFile(integer $id) : mixed
Static
Get the files for the event id
getFiles(integer $relationId) : array | null
Static
Parameters
$relationId
integer
The relation id
Returns
array
null
Get the files for the event id, but without the file data
getFilesWithoutData(integer $relationId) : array | null
Static
Parameters
$relationId
integer
The relation id
Returns
array
null
Get a status select
getStatusSelect(string $name, integer $selected = 0
) : mixed
Static
Parameters
$name
string
Name of the element
$selected
integer
The selected value
Returns
mixed
Upload file and get the base 64 decoded file
getUploadFileBase64($name) : array | boolean
Static
deprecated |
Not used anymore? |
since |
7.0.0 |
Parameters
$name
Returns
array
boolean
Constants
REGISTERED
REGISTERED = 1
UNPUBLISHED
UNPUBLISHED = -1