com. kelvinluck. flickr. ResultsSet

Handles the search responses from flickr.com packaging them up with relevant information about the query.

Each object which will tell you the page, numberOfPages, resultsPerPage and total number of Photos for a given search...  This is tied to information about the querystring which produced that search.

See Also

<Flickr._parsePhotoXml>

Licence

This code and documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0.  http://creativecommons.org/licenses/by-nc-sa/2.0/

Author

Kelvin Luck

Summary
Handles the search responses from flickr.com packaging them up with relevant information about the query.
The querystring which created this search...
The page of results whose information is held here
The total number of pages available for this search
The number of results per page
The total number of photos for this search
An Array containing all the relevant Photo objects returned by this search.
Constructor

queryString

var queryString: String

The querystring which created this search...

TODO: Should probably get rid of the page, per_page and possibly extras arguments from the querystring (as page and per_page are held in the object and extras wouldn’t effect the Photos that you get, just the level of detail you get about them)

page

var page: Number

The page of results whose information is held here

numberOfPages

var numberOfPages: Number

The total number of pages available for this search

resultsPerPage

var resultsPerPage: Number

The number of results per page

total

var total: Number

The total number of photos for this search

photos

var photos: Array

An Array containing all the relevant Photo objects returned by this search.

ResultSet

function ResultSet()

Constructor

toString

public function toString():String
var queryString: String
The querystring which created this search...
var page: Number
The page of results whose information is held here
var numberOfPages: Number
The total number of pages available for this search
var resultsPerPage: Number
The number of results per page
var total: Number
The total number of photos for this search
var photos: Array
An Array containing all the relevant Photo objects returned by this search.
Class to describe a photo from Flickr.
function ResultSet()
Constructor
public function toString():String