BgsCollectionRepositoryInterface
in
Interface BgsCollectionRepositoryInterface.
Tags
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
createBgsCollection()
public
createBgsCollection(User $context, array<string, mixed> $attributes) : BgsCollection
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
BgsCollectiondeleteBackground()
public
deleteBackground(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
booldeleteBgsCollection()
public
deleteBgsCollection(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
boolgetBackgrounds()
public
getBackgrounds(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
PaginatorgetTotalCollectionActive()
public
getTotalCollectionActive() : int
Return values
intupdateBgsCollection()
public
updateBgsCollection(User $context, int $id, array<string, mixed> $attributes) : BgsCollection
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed>
Tags
Return values
BgsCollectionupdateMainBackground()
public
updateMainBackground(BgsCollection $bgsCollection[, int $mainBackgroundId = 0 ]) : void
Parameters
- $bgsCollection : BgsCollection
- $mainBackgroundId : int = 0
viewBgsCollection()
public
viewBgsCollection(User $context, int $id) : BgsCollection
Parameters
- $context : User
- $id : int
Tags
Return values
BgsCollectionviewBgsCollectionsForAdmin()
public
viewBgsCollectionsForAdmin(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
PaginatorviewBgsCollectionsForFE()
public
viewBgsCollectionsForFE(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>