Class JGoogleDataPlusActivities
Google+ data class for the Joomla Platform.
-
JGoogleData
-
JGoogleDataPlusActivities
Methods summary
public
|
|
public
mixed
|
#
listActivities( string $userId, string $collection, string $fields = null, integer $max = 10, string $token = null, string $alt = null )
List all of the activities in the specified collection for a particular
user.
List all of the activities in the specified collection for a particular
user.
Parameters
- $userId
string - $userId The ID of the user to get activities for. The special value "me" can be
used to indicate the authenticated user.
- $collection
string - $collection The collection of activities to list. Acceptable values are:
"public".
- $fields
string - $fields Used to specify the fields you want returned.
- $max
integer - $max The maximum number of people to include in the response, used for paging.
- $token
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.
- $alt
string - $alt Specifies an alternative representation type. Acceptable values are: "json"
- Use JSON format (default)
Returns
mixed - Data from Google
Since
12.3
|
public
mixed
|
#
getActivity( string $id, string $fields = null, string $alt = null )
Get an activity.
Parameters
- $id
string - $id The ID of the activity to get.
- $fields
string - $fields Used to specify the fields you want returned.
- $alt
string - $alt Specifies an alternative representation type. Acceptable values are: "json"
- Use JSON format (default)
Returns
mixed - Data from Google
Since
12.3
|
public
mixed
|
#
search( string $query, string $fields = null, string $language = null, integer $max = 10, string $order = null, string $token = null )
Search all public activities.
Search all public activities.
Parameters
- $query
string - $query Full-text search query string.
- $fields
string - $fields Used to specify the fields you want returned.
- $language
string - $language Specify the preferred language to search with. https://developers.google.com/+/api/search#available-languages
- $max
integer - $max The maximum number of people to include in the response, used for paging.
- $order
string - $order Specifies how to order search results. Acceptable values are "best" and
"recent".
- $token
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.
Returns
mixed - Data from Google
Since
12.3
|
Methods inherited from JGoogleData
authenticate()
,
getOption()
,
isAuthenticated()
,
listGetData()
,
query()
,
safeXml()
,
setOption()
Magic methods summary
Properties summary
Properties inherited from JGoogleData
$auth
,
$options