Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JRegistry $options=null, JGoogleAuth $auth=null) | |
listActivities ($userId, $collection, $fields=null, $max=10, $token=null, $alt=null) | |
getActivity ($id, $fields=null, $alt=null) | |
search ($query, $fields=null, $language=null, $max=10, $order=null, $token=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 activities.php.
JGoogleDataPlusActivities::__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 activities.php.
JGoogleDataPlusActivities::getActivity | ( | $id, | |
$fields = null , |
|||
$alt = null |
|||
) |
Get an activity.
string | $id | The ID of the activity to get. |
string | $fields | Used to specify the fields you want returned. |
string | $alt | Specifies an alternative representation type. Acceptable values are: "json" - Use JSON format (default) |
Définition à la ligne 108 du fichier activities.php.
JGoogleDataPlusActivities::listActivities | ( | $userId, | |
$collection, | |||
$fields = null , |
|||
$max = 10 , |
|||
$token = null , |
|||
$alt = null |
|||
) |
List all of the activities in the specified collection for a particular user.
string | $userId | The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. |
string | $collection | The collection of activities to list. Acceptable values are: "public". |
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 | $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 activities.php.
JGoogleDataPlusActivities::search | ( | $query, | |
$fields = null , |
|||
$language = null , |
|||
$max = 10 , |
|||
$order = null , |
|||
$token = null |
|||
) |
Search all public activities.
string | $query | Full-text search query string. |
string | $fields | Used to specify the fields you want returned. |
string | $language | Specify the preferred language to search with. https://developers.google.com/+/api/search#available-languages |
integer | $max | The maximum number of people to include in the response, used for paging. |
string | $order | Specifies how to order search results. Acceptable values are "best" and "recent". |
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. |
Définition à la ligne 152 du fichier activities.php.