Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JRegistry $options=null, JGoogleAuth $auth=null) | |
listComments ($activityId, $fields=null, $max=20, $order=null, $token=null, $alt=null) | |
getComment ($id, $fields=null) | |
Fonctions membres publiques inherited from JGoogleData | |
authenticate () | |
isAuthenticated () | |
getOption ($key) | |
setOption ($key, $value) |
Additional Inherited Members | |
Fonctions membres protégées inherited from JGoogleData | |
listGetData ($url, $maxpages=1, $token=null) | |
query ($url, $data=null, $headers=null, $method= 'get') | |
Fonctions membres protégées statiques inherited from JGoogleData | |
static | safeXML ($data) |
Attributs protégés inherited from JGoogleData | |
$options | |
$auth |
Définition à la ligne 19 du fichier comments.php.
JGoogleDataPlusComments::__construct | ( | JRegistry | $options = null , |
JGoogleAuth | $auth = null |
||
) |
Constructor.
JRegistry | $options | Google options object |
JGoogleAuth | $auth | Google data http client object |
Réimplémentée à partir de JGoogleData.
Définition à la ligne 29 du fichier comments.php.
JGoogleDataPlusComments::getComment | ( | $id, | |
$fields = null |
|||
) |
Get a comment.
string | $id | The ID of the comment to get. |
string | $fields | Used to specify the fields you want returned. |
Définition à la ligne 114 du fichier comments.php.
JGoogleDataPlusComments::listComments | ( | $activityId, | |
$fields = null , |
|||
$max = 20 , |
|||
$order = null , |
|||
$token = null , |
|||
$alt = null |
|||
) |
List all of the comments for an activity.
string | $activityId | The ID of the activity to get comments for. |
string | $fields | Used to specify the fields you want returned. |
integer | $max | The maximum number of people to include in the response, used for paging. |
string | $order | The order in which to sort the list of comments. Acceptable values are "ascending" and "descending". |
string | $token | The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token may be of any length. |
string | $alt | Specifies an alternative representation type. Acceptable values are: "json" - Use JSON format (default) |
Définition à la ligne 54 du fichier comments.php.