PHP Class Gajus\Fuss\PageTab

Afficher le fichier Open project: gajus/fuss

Méthodes publiques

Méthode Description
__construct ( SignedRequest $signed_request )
getId ( ) : integer The page ID.
isAdmin ( ) : boolean true if the loading user is an admin of the page.
isLiked ( ) : boolean true if the loading user has liked the page, false if not.

Method Details

__construct() public méthode

public __construct ( SignedRequest $signed_request )
$signed_request SignedRequest

getId() public méthode

The page ID.
public getId ( ) : integer
Résultat integer

isAdmin() public méthode

true if the loading user is an admin of the page.
public isAdmin ( ) : boolean
Résultat boolean

isLiked() public méthode

true if the loading user has liked the page, false if not.
See also: https://developers.facebook.com/docs/reference/login/signed-request
Deprecation: This field will no longer be included for any app created after the launch of v2.1 (August 7th, 2014), and will be permanently set to true for all other apps on November 5th, 2014.
public isLiked ( ) : boolean
Résultat boolean