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. Currently very bare bones - this class will be expanded Version0.1.0 AuthorKelvin Luck < kelvin at kelvinluck dot com > Summary
_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 Group
Don’t call directly, use getGroup to make sure that there is only one Group instance for each nsid as returned by 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
|
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
A private static Object containing Group objects.
private static var _groups: Object
private function Group( nsid: String )
Get’s a Group object for the given nsid.
public static function getGroup( nsid: String ):Group