Extends
lithium\net\http\Request
Allows request parameters to be accessed as object properties, i.e. `$this->request->action`
instead of `$this->request->params['action']`.
Parameters
- string $name The property name/parameter key to return.
Returns
mixed Returns the value of `$params[$name]` if it is set, otherwise returns null.Source
public function __get($name) {
if (isset($this->params[$name])) {
return $this->params[$name];
}
}