MetaFox

TagFriendRepositoryInterface
in

Interface TagFriend.

Tags
mixin

BaseRepository

mixin

UserMorphTrait

Table of Contents

Methods

createTagFriend()  : bool
$tagFriends = [ [ 'friend_id' => 1, 'px' => 1, 'py' => 1, ], [ 'friend_id' => 1], ['friend_id' => 1, 'is_mention' => true, 'content' => 'user test ahihi'], ];.
deleteItemTagFriends()  : void
deleteTagFriend()  : bool
getAllTaggedFriends()  : Collection
getItemTagFriends()  : Collection
getTagFriend()  : TagFriend|null
getTagFriends()  : Builder
getTaggedUserIdsByItem()  : array<string|int, mixed>
updateTagFriend()  : bool
$tagFriends = [ [ 'friend_id' => 1, 'px' => 1, 'py' => 1, ], [ 'friend_id' => 1], ['friend_id' => 1, 'is_mention' => true, 'content' => 'user test ahihi'], ];.

Methods

createTagFriend()

$tagFriends = [ [ 'friend_id' => 1, 'px' => 1, 'py' => 1, ], [ 'friend_id' => 1], ['friend_id' => 1, 'is_mention' => true, 'content' => 'user test ahihi'], ];.

public createTagFriend(User $context, HasTaggedFriend $item, array<string|int, mixed> $tagFriends[, bool $putToTagStream = true ]) : bool
Parameters
$context : User
$item : HasTaggedFriend
$tagFriends : array<string|int, mixed>
$putToTagStream : bool = true
Return values
bool

updateTagFriend()

$tagFriends = [ [ 'friend_id' => 1, 'px' => 1, 'py' => 1, ], [ 'friend_id' => 1], ['friend_id' => 1, 'is_mention' => true, 'content' => 'user test ahihi'], ];.

public updateTagFriend(User $context, HasTaggedFriend $item, array<string|int, int> $tagFriends) : bool
Parameters
$context : User
$item : HasTaggedFriend
$tagFriends : array<string|int, int>
Return values
bool

        
On this page

Search results