PHP 클래스 Gajus\Fuss\PageTab

파일 보기 프로젝트 열기: gajus/fuss

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

public __construct ( SignedRequest $signed_request )
$signed_request SignedRequest

getId() 공개 메소드

The page ID.
public getId ( ) : integer
리턴 integer

isAdmin() 공개 메소드

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

isLiked() 공개 메소드

true if the loading user has liked the page, false if not.
또한 보기: https://developers.facebook.com/docs/reference/login/signed-request
사용 중단: 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
리턴 boolean