Service/Yahoo/ResultSet.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Yahoo
- Version
- $Id$
\Zend_Service_Yahoo_ResultSet
Package: Zend_Service\Yahoo

Throws


- Implements
- Children
- \Zend_Service_Yahoo_NewsResultSet
- \Zend_Service_Yahoo_ImageResultSet
- \Zend_Service_Yahoo_VideoResultSet
- \Zend_Service_Yahoo_PageDataResultSet
- \Zend_Service_Yahoo_LocalResultSet
- \Zend_Service_Yahoo_InlinkDataResultSet
- \Zend_Service_Yahoo_WebResultSet
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

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

current() : \Zend_Service_Yahoo_ResultImplement SeekableIterator::current()
Must be implemented by child classes
Returns| Type | Description |
|---|---|
| \Zend_Service_Yahoo_Result |
| Exception | Description |
|---|---|
| \Zend_Service_Exception |

seek(int $index) : voidImplement SeekableIterator::seek()
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $index | int |
| Exception | Description |
|---|---|
| \OutOfBoundsException |

totalResults() : intTotal Number of results returned
Returns
| Type | Description |
|---|---|
| int | Total number of results returned |