Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
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 inherited from JLinkedinObject | |
__construct (JRegistry $options=null, JHttp $client=null, JLinkedinOAuth $oauth=null) | |
booleanToString ($bool) | |
getOption ($key) | |
setOption ($key, $value) |
Fonctions membres privées | |
_likeUnlike ($key, $like) |
Additional Inherited Members | |
Attributs protégés inherited from JLinkedinObject | |
$options | |
$client | |
$oauth |
Définition à la ligne 19 du fichier stream.php.
|
private |
Method to like or unlike an update.
string | $key | Update/update-key representing an update. |
boolean | $like | True to like update, false otherwise. |
Définition à la ligne 571 du fichier stream.php.
JLinkedinStream::getComments | ( | $key | ) |
Method to retrieve all comments for a given network update.
string | $key | update/update-key representing an update. |
Définition à la ligne 463 du fichier stream.php.
JLinkedinStream::getCurrentShare | ( | $id = null , |
|
$url = null |
|||
) |
Method to get a particular member's current share.
string | $id | Member id of the profile you want. |
string | $url | The public profile URL. |
Définition à la ligne 183 du fichier stream.php.
JLinkedinStream::getLikes | ( | $key | ) |
Method to retrieve the complete list of people who liked an update.
string | $key | update/update-key representing an update. |
Définition à la ligne 537 du fichier stream.php.
JLinkedinStream::getNetworkStats | ( | ) |
Method to get information about the current member's network.
Définition à la ligne 388 du fichier stream.php.
JLinkedinStream::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. |
Définition à la ligne 302 du fichier stream.php.
JLinkedinStream::getShareStream | ( | $id = null , |
|
$url = null , |
|||
$self = true |
|||
) |
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. |
Définition à la ligne 236 du fichier stream.php.
JLinkedinStream::like | ( | $key | ) |
Method used to like an update.
string | $key | Update/update-key representing an update. |
Définition à la ligne 609 du fichier stream.php.
JLinkedinStream::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 |
Définition à la ligne 497 du fichier stream.php.
JLinkedinStream::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. |
Définition à la ligne 422 du fichier stream.php.
JLinkedinStream::reshare | ( | $visibility, | |
$id, | |||
$comment = null , |
|||
$twitter = false |
|||
) |
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 |
Définition à la ligne 122 du fichier stream.php.
JLinkedinStream::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 |
Définition à la ligne 37 du fichier stream.php.
JLinkedinStream::unlike | ( | $key | ) |
Method used to unlike an update.
string | $key | Update/update-key representing an update. |
Définition à la ligne 623 du fichier stream.php.