trait CanSearchRecords (View source)

Properties

protected bool|null $isSearchable
protected bool|Closure|null $persistsSearchInSession
protected bool|Closure|null $persistsColumnSearchesInSession
protected string|Closure|null $searchPlaceholder
protected string|null $searchDebounce
protected bool|Closure $isSearchOnBlur

Methods

persistSearchInSession(bool|Closure $condition = true)

No description

persistColumnSearchesInSession(bool|Closure $condition = true)

No description

searchable(bool|null $condition = true)

No description

searchDebounce(string|null $debounce)

No description

bool
isSearchable()

No description

bool
isSearchableByColumn()

No description

bool
persistsSearchInSession()

No description

bool
searchPlaceholder(string|Closure|null $searchPlaceholder)

No description

string|null
getSearchPlaceholder()

No description

bool
hasSearch()

No description

getSearchIndicator()

No description

array
getColumnSearchIndicators()

No description

string
getSearchDebounce()

No description

searchOnBlur(bool|Closure $condition = true)

No description

bool
isSearchOnBlur()

No description

Details

CanSearchRecords persistSearchInSession(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanSearchRecords

CanSearchRecords persistColumnSearchesInSession(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanSearchRecords

CanSearchRecords searchable(bool|null $condition = true)

No description

Parameters

bool|null $condition

Return Value

CanSearchRecords

CanSearchRecords searchDebounce(string|null $debounce)

No description

Parameters

string|null $debounce

Return Value

CanSearchRecords

bool isSearchable()

No description

Return Value

bool

bool isSearchableByColumn()

No description

Return Value

bool

bool persistsSearchInSession()

No description

Return Value

bool

bool persistsColumnSearchesInSession()

No description

Return Value

bool

CanSearchRecords searchPlaceholder(string|Closure|null $searchPlaceholder)

No description

Parameters

string|Closure|null $searchPlaceholder

Return Value

CanSearchRecords

string|null getSearchPlaceholder()

No description

Return Value

string|null

bool hasSearch()

No description

Return Value

bool

Indicator getSearchIndicator()

No description

Return Value

Indicator

array getColumnSearchIndicators()

No description

Return Value

array

| array<string, string>

string getSearchDebounce()

No description

Return Value

string

CanSearchRecords searchOnBlur(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanSearchRecords

bool isSearchOnBlur()

No description

Return Value

bool