Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JFacebook

Fonctions membres publiques

 __construct (JFacebookOAuth $oauth=null, Registry $options=null, JHttp $client=null)
 
 __get ($name)
 
 getOption ($key)
 
 setOption ($key, $value)
 

Attributs protégés

 $options
 
 $client
 
 $oauth
 
 $user
 
 $status
 
 $checkin
 
 $event
 
 $group
 
 $link
 
 $note
 
 $post
 
 $comment
 
 $photo
 
 $video
 
 $album
 

Description détaillée

Joomla Platform class for interacting with a Facebook API instance.

Depuis
3.2.0
Obsolète:
4.0 Use the joomla/facebook package via Composer instead

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( JFacebookOAuth  $oauth = null,
Registry  $options = null,
JHttp  $client = null 
)

Constructor.

Paramètres
JFacebookOAuth$oauthOAuth client.
Registry$optionsFacebook options object.
JHttp$clientThe HTTP client object.
Depuis
3.2.0

Références $client, et $options.

Documentation des fonctions membres

◆ __get()

__get (   $name)

Magic method to lazily create API objects

Paramètres
string$nameName of property to retrieve
Renvoie
JFacebookObject Facebook API object (status, user, friends etc).
Depuis
3.2.0
Exceptions
InvalidArgumentException

Références $class, et $name.

◆ getOption()

getOption (   $key)

Get an option from the JFacebook instance.

Paramètres
string$keyThe name of the option to get.
Renvoie
mixed The option value.
Depuis
3.2.0

Références $key.

◆ setOption()

setOption (   $key,
  $value 
)

Set an option for the JFacebook instance.

Paramètres
string$keyThe name of the option to set.
mixed$valueThe option value to set.
Renvoie
JFacebook This object for method chaining.
Depuis
3.2.0

Références $key, et $value.

Documentation des champs

◆ $album

$album
protected

◆ $checkin

$checkin
protected

◆ $client

$client
protected

◆ $comment

$comment
protected

◆ $event

$event
protected

◆ $group

$group
protected

◆ $link

$link
protected

◆ $note

$note
protected

◆ $oauth

$oauth
protected

◆ $options

$options
protected

◆ $photo

$photo
protected

◆ $post

$post
protected

◆ $status

$status
protected

◆ $user

$user
protected

◆ $video

$video
protected

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