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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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