SearchRepositoryInterface
in
Interface Search.
Tags
Table of Contents
Methods
- buildQuery() : Builder
- createdBy() : void
- deletedBy() : void
- deletedByItem() : bool
- getGroups() : Collection
- getSuggestion() : Collection
- getTrendingHashtags() : Paginator
- getWhenOptions() : array<string|int, mixed>
- searchItems() : Collection
- updatedBy() : void
- updateSearchText() : bool
Methods
buildQuery()
public
buildQuery(User $context[, array<string|int, mixed> $attributes = [] ]) : Builder
Parameters
- $context : User
- $attributes : array<string|int, mixed> = []
Return values
BuildercreatedBy()
public
createdBy(HasGlobalSearch $item) : void
Parameters
- $item : HasGlobalSearch
deletedBy()
public
deletedBy(HasGlobalSearch $item) : void
Parameters
- $item : HasGlobalSearch
deletedByItem()
public
deletedByItem(string $itemType, int $itemId) : bool
Parameters
- $itemType : string
- $itemId : int
Return values
boolgetGroups()
public
getGroups(User $context[, array<string|int, mixed> $attributes = [] ]) : Collection
Parameters
- $context : User
- $attributes : array<string|int, mixed> = []
Return values
CollectiongetSuggestion()
public
getSuggestion(User $user[, array<string, mixed> $params = [] ]) : Collection
Parameters
- $user : User
- $params : array<string, mixed> = []
Return values
CollectiongetTrendingHashtags()
public
getTrendingHashtags([array<string|int, mixed> $attributes = [] ]) : Paginator
Parameters
- $attributes : array<string|int, mixed> = []
Return values
PaginatorgetWhenOptions()
public
getWhenOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>searchItems()
public
searchItems(User $context, array<string, mixed> $params) : Collection
Parameters
- $context : User
- $params : array<string, mixed>
Return values
CollectionupdatedBy()
public
updatedBy(HasGlobalSearch $item) : void
Parameters
- $item : HasGlobalSearch
updateSearchText()
public
updateSearchText(string $itemType, int $itemId, array<string|int, mixed> $attributes) : bool
Parameters
- $itemType : string
- $itemId : int
- $attributes : array<string|int, mixed>