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...")
 
(Description)
 
Line 1: Line 1:
 
===Description===
 
===Description===
This event trigger when a friend is rejected.
+
This event is triggered when a friend request is rejected.
  
 
@since 1.2
 
@since 1.2

Latest revision as of 07:22, 9 March 2013

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