m (Reverted edits by Patricia Schmidt (talk) to last revision by Sinisakrisan) |
(Undo revision 1867 by Patricia Schmidt (talk)) |
||
Line 1: | Line 1: | ||
===Description=== | ===Description=== | ||
− | This event | + | This event is triggered when the group's admin approves a join request by a user. |
@since 1.1 | @since 1.1 |
Latest revision as of 02:29, 12 March 2013
Description
This event is triggered when the group's admin approves a join request by a user.
@since 1.1
Params
- Group - group object that is passed by reference, consist of the following data :
- id, the id of the group
- ownerid, the user id of the group owner
- categoryid, the category type id.
- name, name of the group.
- description, the group description.
- email, the group's email.
- website, the group's website.
- created, date when the group is created.
- approvals, show whether the groups require approval or not when a user join (0 = no need aproval, 1 = requires approval).
- avatar, the group's avatar location.
- thumb, the group's thumbnail avatar location.
- published, the publish status of the group (0 = unpublished, 1 = published).
stdClass Object ( [id] => 51 [ownerid] => 66 [categoryid] => 1 [name] => test [description] => testing group [email] => test@test.com [website] => www.test.com [created] => 2009-02-10 04:14:11 [approvals] => 0 [avatar] => components/com_community/assets/group.jpg [thumb] => components/com_community/assets/group_thumb.jpg [published] => 1 )
- Member Id - int, User ID of the user approved by the group's admin.
Example
function onGroupJoinApproved( &$group, $memberid ) { /* perform your triggered action here. */ }