Response
class Response (View source)
The Response class.
Properties
private | $autocomplete | The output buffer for autocomplete JSON data. | |
private | $buffer | The output buffer used by Composer commands. | |
private | $cli | The output buffer used by CLI commands. | |
private | $debug | The debug output buffer. | |
private | $error | The output buffer used for error notifications. | |
private | $html | The main rendered output of a view or component. | |
private | $redirect | The output buffer used to store a redirect URL. | |
private | $reload | The output buffer used to store the reload state. | |
private | $status | The status output buffer. | |
private | $success | The output buffer used for success notifications. | |
private | $trigger | The output buffer used to store the event name that is triggered after sending a response. |
Methods
The output constructor.
Get the buffer property.
Get the cli property.
Get the error property.
Return a json encoded and filterd array of properties.
Set the autocomplete property.
Set the buffer property.
Set the cli property.
Set the debug property.
Set the error property.
Set the html property.
Set the redirect property.
Set the reload property.
Set the status property.
Set the success property.
Set the trigger property.
Details
at line 109
__construct()
The output constructor.
at line 119
string
getBuffer()
Get the buffer property.
at line 129
string
getCli()
Get the cli property.
at line 139
string
getError()
Get the error property.
at line 148
string
json()
Return a json encoded and filterd array of properties.
at line 160
setAutocomplete(array $values)
Set the autocomplete property.
at line 170
setBuffer(string $buffer = '')
Set the buffer property.
at line 180
setCli(string $value = '')
Set the cli property.
at line 190
setDebug(array $log)
Set the debug property.
at line 200
setError(string $value = '')
Set the error property.
at line 210
setHtml(string $html = '')
Set the html property.
at line 220
setRedirect(string $url = '')
Set the redirect property.
at line 230
setReload(bool $value)
Set the reload property.
at line 240
setStatus(string $value = '')
Set the status property.
at line 250
setSuccess(string $value = '')
Set the success property.
at line 260
setTrigger(string $value)
Set the trigger property.