trait CanBeSearchable (View source)

Properties

protected bool $isGloballySearchable
protected bool $isIndividuallySearchable
protected bool $isSearchable
protected string[] $searchColumns
protected Closure|null $searchQuery
protected bool|Closure|null $isSearchForcedCaseInsensitive

Methods

searchable(bool|array|string $condition = true, Closure|null $query = null, bool $isIndividual = false, bool $isGlobal = true)

No description

forceSearchCaseInsensitive(bool|Closure|null $condition = true)

No description

array
getSearchColumns()

No description

bool
isSearchable()

No description

bool
isGloballySearchable()

No description

bool
isIndividuallySearchable()

No description

bool|null
array
getDefaultSearchColumns()

No description

Details

CanBeSearchable searchable(bool|array|string $condition = true, Closure|null $query = null, bool $isIndividual = false, bool $isGlobal = true)

No description

Parameters

bool|array|string $condition
Closure|null $query
bool $isIndividual
bool $isGlobal

Return Value

CanBeSearchable

CanBeSearchable forceSearchCaseInsensitive(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeSearchable

array getSearchColumns()

No description

Return Value

array

bool isSearchable()

No description

Return Value

bool

bool isGloballySearchable()

No description

Return Value

bool

bool isIndividuallySearchable()

No description

Return Value

bool

bool|null isSearchForcedCaseInsensitive()

No description

Return Value

bool|null

array getDefaultSearchColumns()

No description

Return Value

array