router->getController(); } /** * Get router action * * @access public * @return string */ public function getRouterAction() { return $this->router->getAction(); } /** * Get javascript language code * * @access public * @return string */ public function jsLang() { return $this->config->getJsLanguageCode(); } /** * Get current timezone * * @access public * @return string */ public function getTimezone() { return $this->config->getCurrentTimezone(); } /** * Get session flash message * * @access public * @return string */ public function flashMessage() { $html = ''; if (isset($this->session['flash_message'])) { $html = '
'.$this->helper->e($this->session['flash_message']).'
'; unset($this->session['flash_message']); unset($this->session['flash_error_message']); } else if (isset($this->session['flash_error_message'])) { $html = '
'.$this->helper->e($this->session['flash_error_message']).'
'; unset($this->session['flash_message']); unset($this->session['flash_error_message']); } return $html; } }