Service/Yahoo/WebResultSet.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 license@zend.com 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: WebResultSet.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Yahoo_WebResultSet
Package: Zend\Service\Yahoo






Returns
Throws



- 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 = 0inherited
Current Index for SeekableIterator
Inherited from:
\Zend_Service_Yahoo_ResultSet::$$_currentIndexDefault value
0Details- Type
- int
- Inherited_from
- \Zend_Service_Yahoo_ResultSet::$$_currentIndex

string $_namespace = 'urn:yahoo:srch'Web result set namespace
Default value
'urn:yahoo:srch'Details- Type
- string

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

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

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

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

__construct(\DOMDocument $dom) : voidinherited
Parse the search response and retrieve the results for iteration
Inherited from: \Zend_Service_Yahoo_ResultSet::__construct()Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | the REST fragment for this object |

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

rewind() : voidinherited
Implement SeekableIterator::rewind()
Inherited from: \Zend_Service_Yahoo_ResultSet::rewind()
seek(int $index) : voidParameters
Throws
| Name | Type | Description |
|---|---|---|
| $index | int |
| Exception | Description |
|---|---|
| \OutOfBoundsException |

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