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
integerThe relation id
Returns
arraynull
Get the files for the event id, but without the file data
getFilesWithoutData(integer $relationId) : array | null
Static
Parameters
$relationId
integerThe relation id
Returns
arraynull
Get a status select
getStatusSelect(string $name, integer $selected = 0) : mixed
Static
Parameters
$name
stringName of the element
$selected
integerThe 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
arrayboolean
Constants
REGISTERED
REGISTERED = 1
UNPUBLISHED
UNPUBLISHED = -1