/** * Get the page title * * @return string page title */ public function getTitle() { if (empty($this->_data['title'])) { $this->_data['title'] = App_Main::getDefaultTitle(); } return htmlspecialchars(html_entity_decode($this->_data['title'], ENT_QUOTES, 'UTF-8')); }