for controller i want to do some post checkup after action done, and pass back to view.
in controller
$this->render('/Company/index', array("linkArray" => $this->linkArray, "input" => $this->input, "data" => $this->data, "lang" => $this->lang));
in controller i already pass $this->data.
in base controller i declare following function
public function afterAction($action) {
$checkData = $this->checkData($action->data);
return parent::afterAction($action);
}
1 . how can i pass $checkData to view in afterAction(base controller).
2 . how can i access $this->data in $action and pass to checkdata function. i try ->, :: ,[] ,{} all method to access to its property but its fail
Thx and happy new year.