ControllerMessage.php
137 * @param $default The default value if the value is not defined or invalid while exceptions are suppressed (optional, default: _null_)
138 * @param $validateDesc An validation description to be used with Validator::validate() (optional, default: _null_)
setSender($sender)
Set the name of the sending Controller.
setHeaders(array $headers)
Set all headers at once.
addError(ApplicationError $error)
Add an error to the list of errors.
ApplicationError is used to signal errors that occur while processing a request.
Definition: ApplicationError.php:41
setValues(array $values)
Set all key value pairs at once.
getValue($name, $default=null, $validateDesc=null, $suppressException=false)
Get a value.
Messages are sent between Controllers and are used to transfer data between them.
Definition: ControllerMessage.php:23
getBooleanValue($name, $default=false)
Get a value as boolean.