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

Public Member Functions

 isSilhouette ()
 
 getUrl ()
 
 getWidth ()
 
 getHeight ()
 
- 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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 31 of file GraphPicture.php.

Member Function Documentation

◆ getHeight()

Facebook\GraphNodes\GraphPicture::getHeight ( )

Returns the height of user picture if it exists

Returns
int|null

Definition at line 68 of file GraphPicture.php.

◆ getUrl()

Facebook\GraphNodes\GraphPicture::getUrl ( )

Returns the url of user picture if it exists

Returns
string|null

Definition at line 48 of file GraphPicture.php.

◆ getWidth()

Facebook\GraphNodes\GraphPicture::getWidth ( )

Returns the width of user picture if it exists

Returns
int|null

Definition at line 58 of file GraphPicture.php.

◆ isSilhouette()

Facebook\GraphNodes\GraphPicture::isSilhouette ( )

Returns true if user picture is silhouette.

Returns
bool|null

Definition at line 38 of file GraphPicture.php.


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