OnFriendReject

Description

This event is triggered when a friend request 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.
reject Object (
   [profileOwnerId] => 63
   [friendId] => 64
)


Example

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