Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getGroup ($id, $fields=null, $start=0, $count=5) | |
getMemberships ($id=null, $fields=null, $start=0, $count=5, $membership_state=null) | |
getSettings ($person_id=null, $group_id=null, $fields=null, $start=0, $count=5) | |
changeSettings ($group_id, $show_logo=null, $digest_frequency=null, $announcements=null, $allow_messages=null, $new_post=null) | |
joinGroup ($group_id, $show_logo=null, $digest_frequency=null, $announcements=null, $allow_messages=null, $new_post=null) | |
leaveGroup ($group_id) | |
getDiscussions ($id, $fields=null, $start=0, $count=0, $order=null, $category= 'discussion', $modified_since=null) | |
getUserPosts ($group_id, $role, $person_id=null, $fields=null, $start=0, $count=0, $order=null, $category= 'discussion', $modified_since=null) | |
getPost ($post_id, $fields=null) | |
getPostComments ($post_id, $fields=null, $start=0, $count=0) | |
createPost ($group_id, $title, $summary) | |
likePost ($post_id) | |
unlikePost ($post_id) | |
followPost ($post_id) | |
unfollowPost ($post_id) | |
flagPost ($post_id, $flag) | |
deletePost ($post_id) | |
getComment ($comment_id, $fields=null) | |
addComment ($post_id, $comment) | |
deleteComment ($comment_id) | |
getSuggested ($person_id=null, $fields=null) | |
deleteSuggestion ($suggestion_id, $person_id=null) | |
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 ($post_id, $like) | |
_followUnfollow ($post_id, $follow) |
Additional Inherited Members | |
Attributs protégés inherited from JLinkedinObject | |
$options | |
$client | |
$oauth |
Définition à la ligne 19 du fichier groups.php.
|
private |
Method to follow or unfollow a post.
string | $post_id | The unique identifier for a group. |
boolean | $follow | True to like post, false otherwise. |
Définition à la ligne 763 du fichier groups.php.
|
private |
Method to like or unlike a post.
string | $post_id | The unique identifier for a group. |
boolean | $like | True to like post, false otherwise. |
Définition à la ligne 696 du fichier groups.php.
JLinkedinGroups::addComment | ( | $post_id, | |
$comment | |||
) |
Method to add a comment to a post
string | $post_id | The unique identifier for a group. |
string | $comment | The post comment's text. |
Définition à la ligne 941 du fichier groups.php.
JLinkedinGroups::changeSettings | ( | $group_id, | |
$show_logo = null , |
|||
$digest_frequency = null , |
|||
$announcements = null , |
|||
$allow_messages = null , |
|||
$new_post = null |
|||
) |
Method to change a groups settings.
string | $group_id | The unique identifier for a group. |
boolean | $show_logo | Show group logo in profile. |
string | $digest_frequency | E-mail digest frequency. |
boolean | $announcements | E-mail announcements from managers. |
boolean | $allow_messages | Allow messages from members. |
boolean | $new_post | E-mail for every new post. |
Définition à la ligne 229 du fichier groups.php.
JLinkedinGroups::createPost | ( | $group_id, | |
$title, | |||
$summary | |||
) |
Method to retrieve all comments of a post.
string | $group_id | The unique identifier for a group. |
string | $title | Post title. |
string | $summary | Post summary. |
Définition à la ligne 654 du fichier groups.php.
JLinkedinGroups::deleteComment | ( | $comment_id | ) |
Method to delete a comment if the current user is the creator or flag it as inappropriate otherwise.
string | $comment_id | The unique identifier for a group. |
Définition à la ligne 982 du fichier groups.php.
JLinkedinGroups::deletePost | ( | $post_id | ) |
Method to delete a post if the current user is the creator or flag it as inappropriate otherwise.
string | $post_id | The unique identifier for a group. |
Définition à la ligne 868 du fichier groups.php.
JLinkedinGroups::deleteSuggestion | ( | $suggestion_id, | |
$person_id = null |
|||
) |
Method to delete a group suggestion for a user.
string | $suggestion_id | The unique identifier for a suggestion. |
string | $person_id | The unique identifier for a user. |
Définition à la ligne 1065 du fichier groups.php.
JLinkedinGroups::flagPost | ( | $post_id, | |
$flag | |||
) |
Method to flag a post as a Promotion or Job.
string | $post_id | The unique identifier for a group. |
string | $flag | Flag as a 'promotion' or 'job'. |
Définition à la ligne 830 du fichier groups.php.
JLinkedinGroups::followPost | ( | $post_id | ) |
Method used to follow a post.
string | $post_id | The unique identifier for a group. |
Définition à la ligne 801 du fichier groups.php.
JLinkedinGroups::getComment | ( | $comment_id, | |
$fields = null |
|||
) |
Method to access the comments resource.
string | $comment_id | The unique identifier for a comment. |
string | $fields | Request fields beyond the default ones. |
Définition à la ligne 902 du fichier groups.php.
JLinkedinGroups::getDiscussions | ( | $id, | |
$fields = null , |
|||
$start = 0 , |
|||
$count = 0 , |
|||
$order = null , |
|||
$category = 'discussion' , |
|||
$modified_since = null |
|||
) |
Method to get dicussions for a group.
string | $id | The unique identifier for a group. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
string | $order | Sort order for posts. Valid for: recency, popularity. |
string | $category | Category of posts. Valid for: discussion |
string | $modified_since | Timestamp filter for posts created after the specified value. |
Définition à la ligne 402 du fichier groups.php.
JLinkedinGroups::getGroup | ( | $id, | |
$fields = null , |
|||
$start = 0 , |
|||
$count = 5 |
|||
) |
Method to get a group.
string | $id | The unique identifier for a group. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
Définition à la ligne 33 du fichier groups.php.
JLinkedinGroups::getMemberships | ( | $id = null , |
|
$fields = null , |
|||
$start = 0 , |
|||
$count = 5 , |
|||
$membership_state = null |
|||
) |
Method to find the groups a member belongs to.
string | $id | The unique identifier for a user. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
string | $membership_state | The state of the caller’s membership to the specified group. Values are: non-member, awaiting-confirmation, awaiting-parent-group-confirmation, member, moderator, manager, owner. |
Définition à la ligne 88 du fichier groups.php.
JLinkedinGroups::getPost | ( | $post_id, | |
$fields = null |
|||
) |
Method to retrieve details about a post.
string | $post_id | The unique identifier for a post. |
string | $fields | Request fields beyond the default ones. |
Définition à la ligne 561 du fichier groups.php.
JLinkedinGroups::getPostComments | ( | $post_id, | |
$fields = null , |
|||
$start = 0 , |
|||
$count = 0 |
|||
) |
Method to retrieve all comments of a post.
string | $post_id | The unique identifier for a post. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
Définition à la ligne 602 du fichier groups.php.
JLinkedinGroups::getSettings | ( | $person_id = null , |
|
$group_id = null , |
|||
$fields = null , |
|||
$start = 0 , |
|||
$count = 5 |
|||
) |
Method to find the groups a member belongs to.
string | $person_id | The unique identifier for a user. |
string | $group_id | The unique identifier for a group. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
Définition à la ligne 158 du fichier groups.php.
JLinkedinGroups::getSuggested | ( | $person_id = null , |
|
$fields = null |
|||
) |
Method to get suggested groups for a user.
string | $person_id | The unique identifier for a user. |
string | $fields | Request fields beyond the default ones. |
Définition à la ligne 1016 du fichier groups.php.
JLinkedinGroups::getUserPosts | ( | $group_id, | |
$role, | |||
$person_id = null , |
|||
$fields = null , |
|||
$start = 0 , |
|||
$count = 0 , |
|||
$order = null , |
|||
$category = 'discussion' , |
|||
$modified_since = null |
|||
) |
Method to get posts a user started / participated in / follows for a group.
string | $group_id | The unique identifier for a group. |
string | $role | Filter for posts related to the caller. Valid for: creator, commenter, follower. |
string | $person_id | The unique identifier for a user. |
string | $fields | Request fields beyond the default ones. |
integer | $start | Starting location within the result set for paginated returns. |
integer | $count | The number of results returned. |
string | $order | Sort order for posts. Valid for: recency, popularity. |
string | $category | Category of posts. Valid for: discussion |
string | $modified_since | Timestamp filter for posts created after the specified value. |
Définition à la ligne 478 du fichier groups.php.
JLinkedinGroups::joinGroup | ( | $group_id, | |
$show_logo = null , |
|||
$digest_frequency = null , |
|||
$announcements = null , |
|||
$allow_messages = null , |
|||
$new_post = null |
|||
) |
Method to join a group.
string | $group_id | The unique identifier for a group. |
boolean | $show_logo | Show group logo in profile. |
string | $digest_frequency | E-mail digest frequency. |
boolean | $announcements | E-mail announcements from managers. |
boolean | $allow_messages | Allow messages from members. |
boolean | $new_post | E-mail for every new post. |
Définition à la ligne 297 du fichier groups.php.
JLinkedinGroups::leaveGroup | ( | $group_id | ) |
Method to leave a group.
string | $group_id | The unique identifier for a group. |
Définition à la ligne 363 du fichier groups.php.
JLinkedinGroups::likePost | ( | $post_id | ) |
Method used to like a post.
string | $post_id | The unique identifier for a group. |
Définition à la ligne 734 du fichier groups.php.
JLinkedinGroups::unfollowPost | ( | $post_id | ) |
Method used to unfollow a post.
string | $post_id | The unique identifier for a group. |
Définition à la ligne 815 du fichier groups.php.
JLinkedinGroups::unlikePost | ( | $post_id | ) |
Method used to unlike a post.
string | $post_id | The unique identifier for a group. |
Définition à la ligne 748 du fichier groups.php.