StickerSetRepositoryInterface
in
Interface StickerSet.
Tags
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
addDefaultStickerForUser()
public
addDefaultStickerForUser(User $user) : void
Parameters
- $user : User
addUserStickerSet()
public
addUserStickerSet(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
boolcheckIsDeleted()
public
checkIsDeleted(StickerSet $stickerSet) : void
Parameters
- $stickerSet : StickerSet
checkStickerSetAdded()
public
checkStickerSetAdded(int $userId, int $stickerSetId) : bool
Parameters
- $userId : int
- $stickerSetId : int
Return values
booldeleteSticker()
public
deleteSticker(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
booldeleteUserStickerSet()
public
deleteUserStickerSet(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
boolgetSticker()
public
getSticker(int $stickerId) : Sticker|null
Parameters
- $stickerId : int
Return values
Sticker|nullgetStickers()
public
getStickers(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
PaginatormarkAsDefault()
public
markAsDefault(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
boolorderingSticker()
public
orderingSticker(User $context, array<int, int> $orders) : bool
Parameters
- $context : User
- $orders : array<int, int>
Tags
Return values
boolorderingStickerSet()
public
orderingStickerSet(User $context, array<int, int> $orders) : bool
Parameters
- $context : User
- $orders : array<int, int>
Tags
Return values
boolremoveDefault()
public
removeDefault(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
booltoggleActive()
public
toggleActive(User $context, int $id, int $isActive) : bool
Parameters
- $context : User
- $id : int
- $isActive : int
Tags
Return values
boolupdateThumbnail()
public
updateThumbnail(StickerSet $stickerSet[, int $thumbnailId = 0 ]) : void
Parameters
- $stickerSet : StickerSet
- $thumbnailId : int = 0
viewStickerSet()
public
viewStickerSet(User $context, int $id) : StickerSet
Parameters
- $context : User
- $id : int
Tags
Return values
StickerSetviewStickerSets()
public
viewStickerSets(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Return values
PaginatorviewStickerSetsAll()
public
viewStickerSetsAll(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
PaginatorviewStickerSetsUser()
public
viewStickerSetsUser(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>