PHP 클래스 Horde_Service_Facebook_Users, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
저자: Michael J. Rubinsky ([email protected])
상속: extends Horde_Service_Facebook_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_permissions array Local cache of requested permissions
$_users array Local cache of requested user information

공개 메소드들

메소드 설명
getAppPermissions ( string $uid = null ) : array Return the list of the current application permissions for the specified user.
getInfo ( $uid = null, array $fields = [] ) : object Returns the requested info fields for the requested set of users.
getProfileLink ( string $uid ) : string Return a URL to the facebook page of the requested user.
getThumbnail ( string $uid ) : string Return a URL to the user's thumbnail image.

메소드 상세

getAppPermissions() 공개 메소드

Return the list of the current application permissions for the specified user.
public getAppPermissions ( string $uid = null ) : array
$uid string The uid to request permissions for. If null, the currently authenticated user is used.
리턴 array An array of permissions where the keys are permission names and the values are '1' for yes or '0' for no.

getInfo() 공개 메소드

Returns the requested info fields for the requested set of users.
public getInfo ( $uid = null, array $fields = [] ) : object
$fields array An array of fields to return. If empty, all fields are returned.
리턴 object The user information as a stdClass.

getThumbnail() 공개 메소드

Return a URL to the user's thumbnail image.
public getThumbnail ( string $uid ) : string
$uid string The Facebook user id.
리턴 string The URL to the user's Facebook thumbnail.

프로퍼티 상세

$_permissions 보호되어 있는 프로퍼티

Local cache of requested permissions
protected array $_permissions
리턴 array

$_users 보호되어 있는 프로퍼티

Local cache of requested user information
protected array $_users
리턴 array