trait CanSearchRecords (View source)

Properties

$tableColumnSearchQueries
$tableSearchQuery

Methods

bool
isTableSearchable()

No description

bool
isTableSearchableByColumn()

No description

void
updatedTableSearchQuery()

No description

void
updatedTableColumnSearchQueries($value = null, $key = null)

No description

Builder
applySearchToTableQuery(Builder $query)

No description

Builder
applyColumnSearchToTableQuery(Builder $query)

No description

Builder
applyGlobalSearchToTableQuery(Builder $query)

No description

string
getTableSearchQuery()

No description

array
castTableColumnSearchQueries(array $searchQueries)

No description

array
getTableColumnSearchQueries()

No description

bool
hasTableColumnSearches()

No description

string
getTableSearchSessionKey()

No description

bool
string

Details

bool isTableSearchable()

No description

Return Value

bool

bool isTableSearchableByColumn()

No description

Return Value

bool

void updatedTableSearchQuery()

No description

Return Value

void

void updatedTableColumnSearchQueries($value = null, $key = null)

No description

Parameters

$value
$key

Return Value

void

protected Builder applySearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyColumnSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyGlobalSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected string getTableSearchQuery()

No description

Return Value

string

protected array castTableColumnSearchQueries(array $searchQueries)

No description

Parameters

array $searchQueries

Return Value

array

protected array getTableColumnSearchQueries()

No description

Return Value

array

bool hasTableColumnSearches()

No description

Return Value

bool

string getTableSearchSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSearchInSession()

No description

Return Value

bool

string getTableColumnSearchSessionKey()

No description

Return Value

string

protected bool shouldPersistTableColumnSearchInSession()

No description

Return Value

bool