com. kelvinluck. flickr. GroupClass to describe a group from Flickr. Instances of this class are created to hold groups who have been returned in data from calls to the Flickr API. LicenceThis code and documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0. http://creativecommons.org/licenses/by-nc-sa/2.0/ AuthorKelvin Luck < kelvin at kelvinluck dot com > Summary
PRIVACY_PRIVATE
Constant for privacy value for private groups. PRIVACY_INVITE_ONLY
Constant for privacy value for invite only groups. PRIVACY_PUBLIC
Constant for privacy value for public groups. description
The description of this Group. members
The number of members in this Group. _pool
This Groups photo pool. _groups
A private static Object containing Group objects. Used by getGroup to insure that only one Group is created for each nsid returned from flickr.com getGroup
Get’s a Group object for the given nsid. Consults _groups to make sure that only one Group instance is created for each nsid from flickr.com Parameters
|
Constant for privacy value for private groups.
static var PRIVACY_PRIVATE: Number
The privacy setting of this group.
var privacy: Number
Constant for privacy value for invite only groups.
static var PRIVACY_INVITE_ONLY: Number
Constant for privacy value for public groups.
static var PRIVACY_PUBLIC: Number
This group’s nsid.
public var nsid: String
The name of this group.
public var name: String
Whether this group is visible to members over 18 only.
public var eighteenPlus: Boolean
The description of this Group.
var description: String
private function Group( nsid: String )
The number of members in this Group.
var members: Number
This Groups photo pool.
private var _pool: Array
The number of Photos in this Groups pool.
var numPhotos: Number
A private static Object containing Group objects.
private static var _groups: Object
Adds a Photo to this Groups _pool.
function addPhoto( photo: Photo )
Removes a Photo from this Groups _pool.
function removePhoto( photo: Photo )
Get’s this Groups _pool
function getPhotos():Array
Get’s a Group object for the given nsid.
public static function getGroup( nsid: String ):Group