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

Public Member Functions

 __construct ($date)
 
 hasDate ()
 
 hasYear ()
 

Detailed Description

Definition at line 33 of file Birthday.php.

Constructor & Destructor Documentation

◆ __construct()

Facebook\GraphNodes\Birthday::__construct (   $date)

Parses Graph birthday format to set indication flags, possible values:

MM/DD/YYYY MM/DD YYYY

string $date

Definition at line 56 of file Birthday.php.

Member Function Documentation

◆ hasDate()

Facebook\GraphNodes\Birthday::hasDate ( )

Returns whether date object contains birth day and month

Returns
bool

Definition at line 71 of file Birthday.php.

◆ hasYear()

Facebook\GraphNodes\Birthday::hasYear ( )

Returns whether date object contains birth year

Returns
bool

Definition at line 81 of file Birthday.php.


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