PHP Class Gajus\Fuss\PageTab

Datei anzeigen Open project: gajus/fuss

Public Methods

Method 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 method

public __construct ( SignedRequest $signed_request )
$signed_request SignedRequest

getId() public method

The page ID.
public getId ( ) : integer
return integer

isAdmin() public method

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

isLiked() public method

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
return boolean