Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JFacebookOAuth
+ Graphe d'héritage de JFacebookOAuth:
+ Graphe de collaboration de JFacebookOAuth:

Liste de tous les membres

Fonctions membres publiques

 __construct (JRegistry $options=null, JHttp $client=null, JInput $input=null)
 setScope ($scope)
 getScope ()
- Fonctions membres publiques inherited from JOAuth2Client
 __construct (JRegistry $options=null, JHttp $http=null, JInput $input=null, JApplicationWeb $application=null)
 authenticate ()
 isAuthenticated ()
 createUrl ()
 query ($url, $data=null, $headers=array(), $method= 'get', $timeout=null)
 getOption ($key)
 setOption ($key, $value)
 getToken ()
 setToken ($value)
 refreshToken ($token=null)

Attributs protégés

 $options
- Attributs protégés inherited from JOAuth2Client
 $http
 $input
 $application

Description détaillée

Définition à la ligne 21 du fichier oauth.php.


Documentation des constructeurs et destructeur

JFacebookOAuth::__construct ( JRegistry  $options = null,
JHttp  $client = null,
JInput  $input = null 
)

Constructor.

Paramètres:
JRegistry$optionsJFacebookOauth options object.
JHttp$clientThe HTTP client object.
JInput$inputThe input object.
Depuis:
13.1

Définition à la ligne 38 du fichier oauth.php.

Références JRegistry\def().

{
$this->options = isset($options) ? $options : new JRegistry;
// Setup the authentication and token urls if not already set.
$this->options->def('authurl', 'http://www.facebook.com/dialog/oauth');
$this->options->def('tokenurl', 'https://graph.facebook.com/oauth/access_token');
// Call the JOauthOauth2client constructor to setup the object.
parent::__construct($this->options, $client, $input);
}

+ Voici le graphe d'appel pour cette fonction :


Documentation des fonctions membres

JFacebookOAuth::getScope ( )

Method to get the current scope

Renvoie:
string Comma separated list of permissions.
Depuis:
13.1

Définition à la ligne 73 du fichier oauth.php.

{
return $this->getOption('scope');
}
JFacebookOAuth::setScope (   $scope)

Method used to set permissions.

Paramètres:
string$scopeComma separated list of permissions.
Renvoie:
JFacebookOauth This object for method chaining
Depuis:
13.1

Définition à la ligne 59 du fichier oauth.php.

{
$this->setOption('scope', $scope);
return $this;
}

Documentation des données membres

JFacebookOAuth::$options
protected

Réimplémentée à partir de JOAuth2Client.

Définition à la ligne 27 du fichier oauth.php.


La documentation de cette classe a été générée à partir du fichier suivant :