constructClasses(); $this->Components->trigger('initialize', array(&$this)); $this->_set(array('cacheAction' => false, 'viewPath' => 'Errors')); } /** * Escapes the viewVars. * * @return void */ public function beforeRender() { parent::beforeRender(); foreach ($this->viewVars as $key => $value) { if (!is_object($value)){ $this->viewVars[$key] = h($value); } } } }