public function getTitle() { $str = parent::getTitle(); $this->_title = trim(str_replace(array("\r\n"), "", $str)); return $this->_title; }
public function getTitle() { $this->_title = parent::getTitle(); if (!$this->_title) { $filter = '//div[@class="about"]//a[@class="blu"]/text()||1'; $this->_title = $this->_getRegexpInfo($filter, $this->getContent()); } return $this->_title; }