PhotoGroupRepositoryInterface
in
Interface PhotoRepositoryInterface.
Tags
Table of Contents
Methods
- cleanUpGroup() : bool
- deleteUserPhotoGroups() : void
- forceContentForGlobalSearch() : array<string|int, mixed>
- handleContent() : array<string|int, mixed>
- updateApprovedStatus() : bool
- updateGlobalSearchForSingleMedia() : void
- viewPhotoGroup() : PhotoGroup
Methods
cleanUpGroup()
public
cleanUpGroup(PhotoGroup|null $group) : bool
Parameters
- $group : PhotoGroup|null
Return values
booldeleteUserPhotoGroups()
public
deleteUserPhotoGroups(User $user) : void
Parameters
- $user : User
forceContentForGlobalSearch()
public
forceContentForGlobalSearch(array<string|int, mixed> $files, string|null $content) : array<string|int, mixed>
Parameters
- $files : array<string|int, mixed>
- $content : string|null
Return values
array<string|int, mixed>handleContent()
public
handleContent(array<string|int, mixed> $attributes) : array<string|int, mixed>
Parameters
- $attributes : array<string|int, mixed>
Return values
array<string|int, mixed>updateApprovedStatus()
public
updateApprovedStatus(PhotoGroup|null $group) : bool
Parameters
- $group : PhotoGroup|null
Return values
boolupdateGlobalSearchForSingleMedia()
public
updateGlobalSearchForSingleMedia(PhotoGroup $group, string|null $text, int $total[, array<string|int, mixed>|null $oldFiles = null ]) : void
Parameters
- $group : PhotoGroup
- $text : string|null
- $total : int
- $oldFiles : array<string|int, mixed>|null = null
viewPhotoGroup()
public
viewPhotoGroup(User $context, int $id) : PhotoGroup
Parameters
- $context : User
- $id : int