Cheetah
Public Member Functions | Static Protected Attributes | List of all members
Facebook\GraphNodes\GraphAlbum Class Reference
Inheritance diagram for Facebook\GraphNodes\GraphAlbum:
Facebook\GraphNodes\GraphNode Facebook\GraphNodes\Collection

Public Member Functions

 getId ()
 
 getCanUpload ()
 
 getCount ()
 
 getCoverPhoto ()
 
 getCreatedTime ()
 
 getUpdatedTime ()
 
 getDescription ()
 
 getFrom ()
 
 getPlace ()
 
 getLink ()
 
 getLocation ()
 
 getName ()
 
 getPrivacy ()
 
 getType ()
 
- Public Member Functions inherited from Facebook\GraphNodes\GraphNode
 __construct (array $data=[])
 
 castItems (array $data)
 
 uncastItems ()
 
 asJson ($options=0)
 
 isIso8601DateString ($string)
 
 shouldCastAsDateTime ($key)
 
 castToDateTime ($value)
 
 castToBirthday ($value)
 
- Public Member Functions inherited from Facebook\GraphNodes\Collection
 getField ($name, $default=null)
 
 getProperty ($name, $default=null)
 
 getFieldNames ()
 
 getPropertyNames ()
 
 all ()
 
 asArray ()
 
 map (\Closure $callback)
 
 count ()
 
 getIterator ()
 
 offsetExists ($key)
 
 offsetGet ($key)
 
 offsetSet ($key, $value)
 
 offsetUnset ($key)
 
 __toString ()
 

Static Protected Attributes

static $graphObjectMap
 
- Static Protected Attributes inherited from Facebook\GraphNodes\GraphNode
static $graphObjectMap = []
 

Additional Inherited Members

- Static Public Member Functions inherited from Facebook\GraphNodes\GraphNode
static getObjectMap ()
 
- Protected Attributes inherited from Facebook\GraphNodes\Collection
 $items = []
 

Detailed Description

Definition at line 32 of file GraphAlbum.php.

Member Function Documentation

◆ getCanUpload()

Facebook\GraphNodes\GraphAlbum::getCanUpload ( )

Returns whether the viewer can upload photos to this album.

Returns
boolean|null

Definition at line 57 of file GraphAlbum.php.

◆ getCount()

Facebook\GraphNodes\GraphAlbum::getCount ( )

Returns the number of photos in this album.

Returns
int|null

Definition at line 67 of file GraphAlbum.php.

◆ getCoverPhoto()

Facebook\GraphNodes\GraphAlbum::getCoverPhoto ( )

Returns the ID of the album's cover photo.

Returns
string|null

Definition at line 77 of file GraphAlbum.php.

◆ getCreatedTime()

Facebook\GraphNodes\GraphAlbum::getCreatedTime ( )

Returns the time the album was initially created.

Returns
\DateTime|null

Definition at line 87 of file GraphAlbum.php.

◆ getDescription()

Facebook\GraphNodes\GraphAlbum::getDescription ( )

Returns the description of the album.

Returns
string|null

Definition at line 107 of file GraphAlbum.php.

◆ getFrom()

Facebook\GraphNodes\GraphAlbum::getFrom ( )

Returns profile that created the album.

Returns
GraphUser|null

Definition at line 117 of file GraphAlbum.php.

◆ getId()

Facebook\GraphNodes\GraphAlbum::getId ( )

Returns the ID for the album.

Returns
string|null

Definition at line 47 of file GraphAlbum.php.

◆ getLink()

Facebook\GraphNodes\GraphAlbum::getLink ( )

Returns a link to this album on Facebook.

Returns
string|null

Definition at line 137 of file GraphAlbum.php.

◆ getLocation()

Facebook\GraphNodes\GraphAlbum::getLocation ( )

Returns the textual location of the album.

Returns
string|null

Definition at line 147 of file GraphAlbum.php.

◆ getName()

Facebook\GraphNodes\GraphAlbum::getName ( )

Returns the title of the album.

Returns
string|null

Definition at line 157 of file GraphAlbum.php.

◆ getPlace()

Facebook\GraphNodes\GraphAlbum::getPlace ( )

Returns profile that created the album.

Returns
GraphPage|null

Definition at line 127 of file GraphAlbum.php.

◆ getPrivacy()

Facebook\GraphNodes\GraphAlbum::getPrivacy ( )

Returns the privacy settings for the album.

Returns
string|null

Definition at line 167 of file GraphAlbum.php.

◆ getType()

Facebook\GraphNodes\GraphAlbum::getType ( )

Returns the type of the album.

enum{ profile, mobile, wall, normal, album }

Returns
string|null

Definition at line 179 of file GraphAlbum.php.

◆ getUpdatedTime()

Facebook\GraphNodes\GraphAlbum::getUpdatedTime ( )

Returns the time the album was updated.

Returns
\DateTime|null

Definition at line 97 of file GraphAlbum.php.

Member Data Documentation

◆ $graphObjectMap

Facebook\GraphNodes\GraphAlbum::$graphObjectMap
staticprotected
Initial value:
= [
'from' => '\Facebook\GraphNodes\GraphUser',
'place' => '\Facebook\GraphNodes\GraphPage',
]

Definition at line 37 of file GraphAlbum.php.


The documentation for this class was generated from the following file: