Method |
Description |
|
addDebugMessage ( string | array $message ) |
Adds a debug message to the debug output section. |
|
addErrorMessage ( array $error ) |
Appends an error entry to the output. |
|
attachDebugHeader ( string $name, string $value, boolean $ignoreEnv = false ) |
Adds a debug header information. |
|
getData ( ) : mixed |
Returns the data from the service response. |
|
getError ( ) : boolean | array |
If there are errors, error report array is returned, otherwise false. |
|
getOutput ( ) : array |
Returns the output in form of an array. |
|
sendOutput ( ) |
Sends the output to browser. |
|
setData ( mixed $data ) |
Sets the callback content data. |
|
setEnvToDevelopment ( ) |
Sets environment flag to development. |
|
setErrorResponse ( string $message, string $description = '', string $code = '' ) |
Adds a general error to the response. |
|
setExpiresIn ( integer $expiresIn ) |
Sets the cache control expiration time. |
|
setHeaderResponse ( integer $statusCode, string $message = '' ) |
Set response header status code and message. |
|