Service/Yahoo/LocalResultSet.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Yahoo
- Version
- $Id: LocalResultSet.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Yahoo_LocalResultSet
- Parent(s)
- \Zend_Service_Yahoo_ResultSet
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


int $_currentIndex = 0
Current Index for SeekableIterator
Inherited from: \Zend_Service_Yahoo_ResultSet::$$_currentIndex0
Details- Type
- int
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$_currentIndex


string $_namespace = 'urn:yahoo:lcl'
Local result set namespace
'urn:yahoo:lcl'
Details- Type
- string


\DOMNodeList $_results =
- Type
- \DOMNodeList
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$_results


int $firstResultPosition =
The offset in the total result set of this search set
Inherited from: \Zend_Service_Yahoo_ResultSet::$$firstResultPosition- Type
- int
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$firstResultPosition


string $resultSetMapURL =
The URL of a webpage containing a map graphic with all returned results plotted on it.
- Type
- string


int $totalResultsAvailable =
Total number of results available
Inherited from: \Zend_Service_Yahoo_ResultSet::$$totalResultsAvailable- Type
- int
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$totalResultsAvailable


int $totalResultsReturned =
The number of results in this result set
Inherited from: \Zend_Service_Yahoo_ResultSet::$$totalResultsReturned- Type
- int
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$totalResultsReturned
Methods


__construct(\DOMDocument $dom) : void
Initializes the local result set
Name | Type | Description |
---|---|---|
$dom | \DOMDocument |


current() : \Zend_Service_Yahoo_LocalResult
Overrides Zend_Service_Yahoo_ResultSet::current()
Must be implemented by child classes
Type | Description |
---|---|
\Zend_Service_Yahoo_LocalResult |
Exception | Description |
---|---|
\Zend_Service_Exception |


rewind() : void
Implement SeekableIterator::rewind()
Inherited from: \Zend_Service_Yahoo_ResultSet::rewind()

seek(int $index) : void
Name | Type | Description |
---|---|---|
$index | int |
Exception | Description |
---|---|
\OutOfBoundsException |


totalResults() : int
Total Number of results returned
Inherited from: \Zend_Service_Yahoo_ResultSet::totalResults()Type | Description |
---|---|
int | Total number of results returned |