public function getTitle() { if ($this->_head) { return $this->_head->getTitle(); } else { return $this->_title === null ? '' : $this->_title; } }