lithium\action\Controller::set()
This method is used to pass along any data from the controller to the view and layout
Parameters
-
array
$data
sets of
<variable name> => <variable value>
to pass to view layer.
Returns
voidSource
public function set($data = []) {
$this->_render['data'] = (array) $data + $this->_render['data'];
}