|
| __construct (Registry $options=null, JGoogleAuth $auth=null) |
|
| getPeople ($id, $fields=null) |
|
| search ($query, $fields=null, $language=null, $max=10, $token=null) |
|
| listByActivity ($activityId, $collection, $fields=null, $max=10, $token=null) |
|
| __construct (Registry $options=null, JGoogleAuth $auth=null) |
|
| authenticate () |
|
| isAuthenticated () |
|
| getOption ($key) |
|
| setOption ($key, $value) |
|
Google+ data class for the Joomla Platform.
- Depuis
- 3.1.4
- Obsolète:
- 4.0 Use the
joomla/google
package via Composer instead
◆ __construct()
Constructor.
- Paramètres
-
Registry | $options | Google options object |
JGoogleAuth | $auth | Google data http client object |
- Depuis
- 3.1.4
Références $options.
◆ getPeople()
getPeople |
( |
|
$id, |
|
|
|
$fields = null |
|
) |
| |
Get a person's profile.
- Paramètres
-
string | $id | The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user. |
string | $fields | Used to specify the fields you want returned. |
- Renvoie
- mixed Data from Google
- Depuis
- 3.1.4
Références $fields, $id, et $url.
◆ listByActivity()
listByActivity |
( |
|
$activityId, |
|
|
|
$collection, |
|
|
|
$fields = null , |
|
|
|
$max = 10 , |
|
|
|
$token = null |
|
) |
| |
List all of the people in the specified collection for a particular activity.
- Paramètres
-
string | $activityId | The ID of the activity to get the list of people for. |
string | $collection | The collection of people to list. Acceptable values are "plusoners" and "resharers". |
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. |
- Renvoie
- mixed Data from Google
- Depuis
- 3.1.4
Références $fields, et $url.
◆ search()
search |
( |
|
$query, |
|
|
|
$fields = null , |
|
|
|
$language = null , |
|
|
|
$max = 10 , |
|
|
|
$token = null |
|
) |
| |
Search all public profiles.
- Paramètres
-
string | $query | Specify a query string for full text search of public text in all profiles. |
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 | $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. |
- Renvoie
- mixed Data from Google
- Depuis
- 3.1.4
Références $fields, $language, $query, et $url.
La documentation de cette classe a été générée à partir du fichier suivant :