Service/Amazon/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 [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
- Amazon
- Version
- $Id: ResultSet.php 24780 2012-05-08 19:34:59Z adamlundrigan $
\Zend_Service_Amazon_ResultSet
Package: Zend\Service\Amazon
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


\DOMNodeList $_results = null
A DOMNodeList of <Item> elements
Default value
null
Details- Type
- \DOMNodeList
Methods


__construct(\DOMDocument $dom) : void
Create an instance of Zend_Service_Amazon_ResultSet and create the necessary data objects
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument |


current() : \Zend_Service_Amazon_Item
Implement SeekableIterator::current()
Returns
Type | Description |
---|---|
\Zend_Service_Amazon_Item |


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


totalPages() : int
Total Number of pages returned
Returns
Type | Description |
---|---|
int | Total number of pages returned |


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