CallbackHandler implements InterfaceCallback
FinalYes
Table of Contents
Interfaces
- InterfaceCallback
Methods
- call() : bool|string
- Function to process results after transformation.
- existSavedFile() : mixed
Methods
call()
Function to process results after transformation.
public
static call(int $status, string $command, array<string|int, mixed> $params[, array<string|int, mixed> $result = array() ]) : bool|string
Parameters
- $status : int
-
Status of the command.
- $command : string
-
Name of the command.
- $params : array<string|int, mixed>
-
Input parameters of the command.
- $result : array<string|int, mixed> = array()
-
Result of the command from controller Here keys are identifiers to result information. If result is file it will be in 'files' array. 'files' - array of the files, where key is extension, and value is absolute path to the result file.
This method should return true on success or string on error.
Tags
Return values
bool|stringexistSavedFile()
public
static existSavedFile(mixed $fileId) : mixed
Parameters
- $fileId : mixed