MetaFox

SearchRepositoryInterface
in

Interface Search.

Tags
mixin

BaseRepository

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
Builder

deletedByItem()

public deletedByItem(string $itemType, int $itemId) : bool
Parameters
$itemType : string
$itemId : int
Return values
bool

getGroups()

public getGroups(User $context[, array<string|int, mixed> $attributes = [] ]) : Collection
Parameters
$context : User
$attributes : array<string|int, mixed> = []
Return values
Collection

getSuggestion()

public getSuggestion(User $user[, array<string, mixed> $params = [] ]) : Collection
Parameters
$user : User
$params : array<string, mixed> = []
Return values
Collection

getTrendingHashtags()

public getTrendingHashtags([array<string|int, mixed> $attributes = [] ]) : Paginator
Parameters
$attributes : array<string|int, mixed> = []
Return values
Paginator

searchItems()

public searchItems(User $context, array<string, mixed> $params) : Collection
Parameters
$context : User
$params : array<string, mixed>
Return values
Collection

updateSearchText()

public updateSearchText(string $itemType, int $itemId, array<string|int, mixed> $attributes) : bool
Parameters
$itemType : string
$itemId : int
$attributes : array<string|int, mixed>
Return values
bool

        
On this page

Search results