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

Public Member Functions

 getId ()
 
 getName ()
 
 getFirstName ()
 
 getMiddleName ()
 
 getLastName ()
 
 getEmail ()
 
 getGender ()
 
 getLink ()
 
 getBirthday ()
 
 getLocation ()
 
 getHometown ()
 
 getSignificantOther ()
 
 getPicture ()
 
- 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 31 of file GraphUser.php.

Member Function Documentation

◆ getBirthday()

Facebook\GraphNodes\GraphUser::getBirthday ( )

Returns the users birthday, if available.

Returns
Birthday|null

Definition at line 128 of file GraphUser.php.

◆ getEmail()

Facebook\GraphNodes\GraphUser::getEmail ( )

Returns the email for the user as a string if present.

Returns
string|null

Definition at line 98 of file GraphUser.php.

◆ getFirstName()

Facebook\GraphNodes\GraphUser::getFirstName ( )

Returns the first name for the user as a string if present.

Returns
string|null

Definition at line 68 of file GraphUser.php.

◆ getGender()

Facebook\GraphNodes\GraphUser::getGender ( )

Returns the gender for the user as a string if present.

Returns
string|null

Definition at line 108 of file GraphUser.php.

◆ getHometown()

Facebook\GraphNodes\GraphUser::getHometown ( )

Returns the current location of the user as a GraphPage.

Returns
GraphPage|null

Definition at line 148 of file GraphUser.php.

◆ getId()

Facebook\GraphNodes\GraphUser::getId ( )

Returns the ID for the user as a string if present.

Returns
string|null

Definition at line 48 of file GraphUser.php.

◆ getLastName()

Facebook\GraphNodes\GraphUser::getLastName ( )

Returns the last name for the user as a string if present.

Returns
string|null

Definition at line 88 of file GraphUser.php.

◆ getLink()

Facebook\GraphNodes\GraphUser::getLink ( )

Returns the Facebook URL for the user as a string if available.

Returns
string|null

Definition at line 118 of file GraphUser.php.

◆ getLocation()

Facebook\GraphNodes\GraphUser::getLocation ( )

Returns the current location of the user as a GraphPage.

Returns
GraphPage|null

Definition at line 138 of file GraphUser.php.

◆ getMiddleName()

Facebook\GraphNodes\GraphUser::getMiddleName ( )

Returns the middle name for the user as a string if present.

Returns
string|null

Definition at line 78 of file GraphUser.php.

◆ getName()

Facebook\GraphNodes\GraphUser::getName ( )

Returns the name for the user as a string if present.

Returns
string|null

Definition at line 58 of file GraphUser.php.

◆ getPicture()

Facebook\GraphNodes\GraphUser::getPicture ( )

Returns the picture of the user as a GraphPicture

Returns
GraphPicture|null

Definition at line 168 of file GraphUser.php.

◆ getSignificantOther()

Facebook\GraphNodes\GraphUser::getSignificantOther ( )

Returns the current location of the user as a GraphUser.

Returns
GraphUser|null

Definition at line 158 of file GraphUser.php.

Member Data Documentation

◆ $graphObjectMap

Facebook\GraphNodes\GraphUser::$graphObjectMap
staticprotected
Initial value:
= [
'hometown' => '\Facebook\GraphNodes\GraphPage',
'location' => '\Facebook\GraphNodes\GraphPage',
'significant_other' => '\Facebook\GraphNodes\GraphUser',
'picture' => '\Facebook\GraphNodes\GraphPicture',
]

Definition at line 36 of file GraphUser.php.


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