MetaFox

SavedListRepositoryInterface
in

Interface SavedListRepositoryInterface.

Tags
mixin

BaseRepository

mixin

Builder

Table of Contents

Methods

addFriendToSavedList()  : array<string|int, int>
createSavedList()  : SavedList
deleteForUser()  : void
deleteSavedList()  : bool
filterSavedListByUser()  : mixed
getSavedListByUser()  : Collection
getTotalSavedLists()  : mixed
updateSavedList()  : SavedList
viewItemCollection()  : Paginator
viewSavedList()  : SavedList
viewSavedLists()  : Paginator

Methods

addFriendToSavedList()

public addFriendToSavedList(User $context, int $listId[, array<string|int, int> $friendIds = [] ]) : array<string|int, int>
Parameters
$context : User
$listId : int
$friendIds : array<string|int, int> = []
Tags
throws
AuthorizationException
Return values
array<string|int, int>

getTotalSavedLists()

public getTotalSavedLists(User $user, array<string|int, mixed> $attributes) : mixed
Parameters
$user : User
$attributes : array<string|int, mixed>

viewItemCollection()

public viewItemCollection(User $user, array<string|int, mixed> $attributes) : Paginator
Parameters
$user : User
$attributes : array<string|int, mixed>
Return values
Paginator

viewSavedLists()

public viewSavedLists(User $user, array<string, mixed> $attributes) : Paginator
Parameters
$user : User
$attributes : array<string, mixed>
Tags
throws
AuthorizationException
Return values
Paginator

        
On this page

Search results