Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Yahoo/LocalResultSet.php
Go to the documentation of this file.
00001 <?php
00002 
00028 require_once 'Zend/Service/Yahoo/ResultSet.php';
00029 
00030 
00034 require_once 'Zend/Service/Yahoo/LocalResult.php';
00035 
00036 
00044 class Zend_Service_Yahoo_LocalResultSet extends Zend_Service_Yahoo_ResultSet
00045 {
00051     public $resultSetMapURL;
00052 
00058     protected $_namespace = 'urn:yahoo:lcl';
00059 
00060 
00067     public function __construct(DOMDocument $dom)
00068     {
00069         parent::__construct($dom);
00070 
00071         $this->resultSetMapURL = $this->_xpath->query('//yh:ResultSetMapUrl/text()')->item(0)->data;
00072     }
00073 
00074 
00080     public function current()
00081     {
00082         return new Zend_Service_Yahoo_LocalResult($this->_results->item($this->_currentIndex));
00083     }
00084 }
 All Data Structures Namespaces Files Functions Variables Enumerations