Service/Yahoo/PageDataResultSet.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: PageDataResultSet.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Yahoo_PageDataResultSet
- 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:srch'
Web result set namespace
'urn:yahoo:srch'
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


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
Parse the search response and retrieve the results for iteration
Inherited from: \Zend_Service_Yahoo_ResultSet::__construct()Name | Type | Description |
---|---|---|
$dom | \DOMDocument | the REST fragment for this object |


current() : \Zend_Service_Yahoo_WebResult
Overrides Zend_Service_Yahoo_ResultSet::current()
Must be implemented by child classes
Type | Description |
---|---|
\Zend_Service_Yahoo_WebResult |
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 |