Service/Flickr/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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Flickr
- Version
- $Id$
\Zend_Service_Flickr_ResultSet
Package: Zend_Service\Flickr
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
\Zend_Service_Flickr $_flickr
Reference to Zend_Service_Flickr object with which the request was made
Details
int $firstResultPosition
The offset of this result set in the total set of available results
Details
- Type
- int
Methods
__construct(\DOMDocument $dom, \Zend_Service_Flickr $flickr) : void
Parse the Flickr Result Set
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$flickr | \Zend_Service_Flickr |
current() : \Zend_Service_Flickr_Result
Implements SeekableIterator::current()
Returns
Type | Description |
---|---|
\Zend_Service_Flickr_Result |
seek(int $index) : void
Implements SeekableIterator::seek()
Parameters
Throws
Name | Type | Description |
---|---|---|
$index | int |
Exception | Description |
---|---|
\OutOfBoundsException |
totalResults() : int
Total Number of results returned
Returns
Type | Description |
---|---|
int | Total number of results returned |