MetaFox

BgsCollectionRepositoryInterface
in

Interface BgsCollectionRepositoryInterface.

Tags
mixin

BaseRepository

Table of Contents

Methods

createBgsCollection()  : BgsCollection
deleteBackground()  : bool
deleteBgsCollection()  : bool
getBackgrounds()  : Paginator
getTotalCollectionActive()  : int
updateBgsCollection()  : BgsCollection
updateMainBackground()  : void
viewBgsCollection()  : BgsCollection
viewBgsCollectionsForAdmin()  : Paginator
viewBgsCollectionsForFE()  : Paginator

Methods

deleteBackground()

public deleteBackground(User $context, int $id) : bool
Parameters
$context : User
$id : int
Tags
throws
ValidationException
throws
AuthorizationException
Return values
bool

deleteBgsCollection()

public deleteBgsCollection(User $context, int $id) : bool
Parameters
$context : User
$id : int
Tags
throws
ValidationException
throws
AuthorizationException
Return values
bool

getBackgrounds()

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

viewBgsCollectionsForAdmin()

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

viewBgsCollectionsForFE()

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

        
On this page

Search results