/** * * Sets the locale class for the getText helper, and adds special * convenience variables, in $this->_view_object for rendering. * * @return void * */ protected function _fixViewObject() { // set the locale class for the getText helper $class = get_class($this); $this->_view_object->getHelper('getTextRaw')->setClass($class); // inject special vars into the view $this->_view_object->controller_class = get_class($this); $this->_view_object->controller = $this->_controller; $this->_view_object->action = $this->_action; $this->_view_object->layout = $this->_layout; $this->_view_object->errors = $this->_errors; }