Service/Flickr/ResultSet.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprivateint $_currentIndex = 0
Current index for the Iterator
Default value0Details
Type
int
>VPropertyprivate\Zend_Service_Flickr $_flickr
Reference to Zend_Service_Flickr object with which the request was made
>VPropertyprotected\DOMNodeList $_results = null
Results storage
Default valuenullDetails
Type
\DOMNodeList
>VPropertypublicint $firstResultPosition
The offset of this result set in the total set of available results
Details
Type
int
>VPropertypublicint $totalResultsAvailable
Total number of available results
Details
Type
int
>VPropertypublicint $totalResultsReturned
Number of results in this result set
Details
Type
int

Methods

methodpublic__construct(\DOMDocument $dom, \Zend_Service_Flickr $flickr) : void

Parse the Flickr Result Set

Parameters
NameTypeDescription
$dom\DOMDocument
$flickr\Zend_Service_Flickr
methodpubliccurrent() : \Zend_Service_Flickr_Result

Implements SeekableIterator::current()

Returns
TypeDescription
\Zend_Service_Flickr_Result
methodpublickey() : int

Implements SeekableIterator::key()

Returns
TypeDescription
int
methodpublicnext() : void

Implements SeekableIterator::next()

methodpublicrewind() : void

Implements SeekableIterator::rewind()

methodpublicseek(int $index) : void

Implements SeekableIterator::seek()

Parameters
NameTypeDescription
$indexint
Throws
ExceptionDescription
\OutOfBoundsException
methodpublictotalResults() : int

Total Number of results returned

Returns
TypeDescription
intTotal number of results returned
methodpublicvalid() : boolean

Implements SeekableIterator::valid()

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .