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é
|
Fonctions membres publiques | |
share ($visibility, $comment=null, $title=null, $url=null, $image=null, $description=null, $twitter=false) | |
reshare ($visibility, $id, $comment=null, $twitter=false) | |
getCurrentShare ($id=null, $url=null) | |
getShareStream ($id=null, $url=null, $self=true) | |
getNetworkUpdates ($id=null, $self=true, $type=null, $count=0, $start=0, $after=null, $before=null, $hidden=false) | |
getNetworkStats () | |
postNetworkUpdate ($body) | |
getComments ($key) | |
postComment ($key, $comment) | |
getLikes ($key) | |
like ($key) | |
unlike ($key) | |
Fonctions membres publiques hérités de JLinkedinObject | |
__construct (Registry $options=null, JHttp $client=null, JLinkedinOAuth $oauth=null) | |
booleanToString ($bool) | |
getOption ($key) | |
setOption ($key, $value) | |
Fonctions membres privées | |
_likeUnlike ($key, $like) | |
Membres hérités additionnels | |
Attributs protégés hérités de JLinkedinObject | |
$options | |
$client | |
$oauth | |
Linkedin API Social Stream class for the Joomla Platform.
|
private |
Method to like or unlike an update.
string | $key | Update/update-key representing an update. |
boolean | $like | True to like update, false otherwise. |
Références $base, $key, $parameters, et $path.
getComments | ( | $key | ) |
Method to retrieve all comments for a given network update.
string | $key | update/update-key representing an update. |
Références $base, $data, $key, $parameters, et $path.
getLikes | ( | $key | ) |
Method to retrieve the complete list of people who liked an update.
string | $key | update/update-key representing an update. |
Références $base, $data, $key, $parameters, et $path.
getNetworkStats | ( | ) |
Method to get information about the current member's network.
Références $base, $data, $parameters, et $path.
getNetworkUpdates | ( | $id = null , |
|
$self = true , |
|||
$type = null , |
|||
$count = 0 , |
|||
$start = 0 , |
|||
$after = null , |
|||
$before = null , |
|||
$hidden = false |
|||
) |
Method to get the users network updates.
string | $id | Member id. |
boolean | $self | Used to return member's feed. Omitted to return aggregated network feed. |
mixed | $type | String containing any valid Network Update Type from the table or an array of strings to specify more than one Network Update type. |
integer | $count | Number of updates to return, with a maximum of 250. |
integer | $start | The offset by which to start Network Update pagination. |
string | $after | Timestamp after which to retrieve updates. |
string | $before | Timestamp before which to retrieve updates. |
boolean | $hidden | Whether to display updates from people the member has chosen to "hide" from their update stream. |
Références $base, $count, $data, $hidden, $id, $parameters, $path, $self, $start, et $type.
Method to get a particular member's current share.
string | $id | Member id of the profile you want. |
string | $url | The public profile URL. |
boolean | $self | Used to return member's feed. Omitted to return aggregated network feed. |
Références $base, $data, $id, $parameters, $path, $self, $url, et elseif.
like | ( | $key | ) |
Method used to like an update.
string | $key | Update/update-key representing an update. |
Références $key.
postComment | ( | $key, | |
$comment | |||
) |
Method to post a new comment to an existing update.
string | $key | update/update-key representing an update. |
string | $comment | Maximum length of 700 characters |
Références $base, $key, $parameters, et $path.
postNetworkUpdate | ( | $body | ) |
Method to get the users network updates.
string | $body | The actual content of the update. You can use HTML to include links to the user name and the content the user created. Other HTML tags are not supported. All body text should be HTML entity escaped and UTF-8 compliant. |
Références $base, $parameters, et $path.
Method to reshare an existing share.
string | $visibility | One of anyone: all members or connections-only: connections only. |
string | $id | The unique identifier for a share. |
string | $comment | Text of member's comment. |
boolean | True to have LinkedIn pass the status message along to a member's tethered Twitter account. |
RuntimeException |
Références $base, $id, $parameters, et $path.
share | ( | $visibility, | |
$comment = null , |
|||
$title = null , |
|||
$url = null , |
|||
$image = null , |
|||
$description = null , |
|||
$twitter = false |
|||
) |
Method to add a new share. Note: post must contain comment and/or (title and url).
string | $visibility | One of anyone: all members or connections-only: connections only. |
string | $comment | Text of member's comment. |
string | $title | Title of shared document. |
string | $url | URL for shared content. |
string | $image | URL for image of shared content. |
string | $description | Description of shared content. |
boolean | True to have LinkedIn pass the status message along to a member's tethered Twitter account. |
RuntimeException |
Références $base, $description, $image, $parameters, $path, $title, $url, et elseif.
unlike | ( | $key | ) |
Method used to unlike an update.
string | $key | Update/update-key representing an update. |
Références $key.