trait CanBeSearchable (View source)

Properties

protected bool $isGloballySearchable
protected bool $isIndividuallySearchable
protected bool $isSearchable
protected array|null $searchColumns
protected Closure|null $searchQuery

Methods

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

No description

array
getSearchColumns()

No description

bool
isSearchable()

No description

bool
isGloballySearchable()

No description

bool
isIndividuallySearchable()

No description

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

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

protected array getDefaultSearchColumns()

No description

Return Value

array