Difference between revisions of "OnFriendReject"

(Created page with "===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/s...")
(No difference)

Revision as of 18:33, 18 January 2013

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.
reject Object (
   [profileOwnerId] => 63
   [friendId] => 64
)


Example

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