public function getTotalResults() { $xml = $this->xml->children('openSearch', true); return intval($xml->totalResults); }