Description

This event trigger when a friend is rejected.

@since 1.2

Params

  • reject - object consisting of the profile owner id and the id of the user he/she that is going to be rejected.

e.g.

reject Object (

   [profileOwnerId] => 63
[friendId] => 64

)

Examples

{code}

function onFriendReject( $reject ) 
{
echo $reject->profileOwnerId;
echo '<br />';
echo $reject->friendId;
 
return true;
}
 
result:
63
64

{/code}

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW