$batchMode
$batchMode : boolean
Controller is in batch mode
Batch controller
Allows for calling multiple commands in a single request. Commands run in the form of a hash with the request URI and the request params:
[
[
"PUT:/v3/content",
{...}
],
[
"POST:/v3/content/123-345-123",
{...}
]
]
Responses will be returned as an array of data, status codes and URIs matched to the request:
[
{
"uri": "PUT:/v3/content",
"response": {...}
"status": 200
},
{
"uri": "POST:/v3/content/123-345-123",
"response": "You do not have permission"
"status": 403
},
]
Standard ACL rules still apply.
render(string $st_output, integer $statusCode = 200) : \Ceo\Core\Controllers\Phalcon\Http\Response
Render output, resets headers and status code.
If batch mode is enabled, will return an array with status code and response.
string | $st_output | Output string |
integer | $statusCode | HTTP status code |