/** * Returns the title of the result page as found in code section of page * * @return string * @throws Exception */ public function getTitle() { if (is_null($this->title)) { $this->title = PageHelper::getTitle($this->getContents()); } return $this->title; }