MetaFox

StickerSetRepositoryInterface
in

Interface StickerSet.

Tags
mixin

BaseRepository

Table of Contents

Methods

addDefaultStickerForUser()  : void
addUserStickerSet()  : bool
checkIsDeleted()  : void
checkStickerSetAdded()  : bool
deleteSticker()  : bool
deleteUserStickerSet()  : bool
getSticker()  : Sticker|null
getStickers()  : Paginator
markAsDefault()  : bool
orderingSticker()  : bool
orderingStickerSet()  : bool
removeDefault()  : bool
toggleActive()  : bool
updateThumbnail()  : void
viewStickerSet()  : StickerSet
viewStickerSets()  : Paginator
viewStickerSetsAll()  : Paginator
viewStickerSetsUser()  : Paginator

Methods

addUserStickerSet()

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

checkStickerSetAdded()

public checkStickerSetAdded(int $userId, int $stickerSetId) : bool
Parameters
$userId : int
$stickerSetId : int
Return values
bool

deleteSticker()

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

deleteUserStickerSet()

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

getStickers()

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

markAsDefault()

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

orderingSticker()

public orderingSticker(User $context, array<int, int> $orders) : bool
Parameters
$context : User
$orders : array<int, int>
Tags
throws
AuthorizationException
Return values
bool

orderingStickerSet()

public orderingStickerSet(User $context, array<int, int> $orders) : bool
Parameters
$context : User
$orders : array<int, int>
Tags
throws
AuthorizationException
Return values
bool

removeDefault()

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

toggleActive()

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

viewStickerSets()

public viewStickerSets(User $context, array<string, mixed> $attributes) : Paginator
Parameters
$context : User
$attributes : array<string, mixed>
Return values
Paginator

viewStickerSetsAll()

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

viewStickerSetsUser()

public viewStickerSetsUser(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