MetaFox

HasTaggedFriendTrait

Table of Contents

Methods

applyTaggedFriendsRules()  : array<string, mixed>
applyTaggedFriendsRulesForEdit()  : array<string, mixed>
handleTaggedFriend()  : array<string|int, mixed>
isEnableTagFriends()  : bool

Methods

applyTaggedFriendsRules()

public applyTaggedFriendsRules(array<string, mixed> $rules) : array<string, mixed>
Parameters
$rules : array<string, mixed>
Return values
array<string, mixed>

applyTaggedFriendsRulesForEdit()

public applyTaggedFriendsRulesForEdit(array<string, mixed> $rules) : array<string, mixed>
Parameters
$rules : array<string, mixed>
Return values
array<string, mixed>

handleTaggedFriend()

public handleTaggedFriend(array<string, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string, mixed>
Return values
array<string|int, mixed>

[ 1 => 1, 2 => [ 'friend_id' => 2, 'px' => 100, 'py' => 200, ], 3 => [ 'friend_id' => 2, 'is_mention' => 1, 'content' => 'user test ahihi', ], ]


        
On this page

Search results