Searchable
User Extended by Shawn Clake Class Searchable User Extended is licensed under the MIT license.
Tags
Table of Contents
- bootSearchable() : mixed
- Called by the system on runtime, Binds an event to the model to adjust timezones
- getSearchableAttributes() : array<string|int, mixed>
- Returns a collection of fields that will be encrypted.
- search() : mixed
- Loops through all the different fields to search by
- searchUserByAttribute() : mixed
- Preforms the actual search
Methods
bootSearchable()
Called by the system on runtime, Binds an event to the model to adjust timezones
public
static bootSearchable() : mixed
Tags
Return values
mixed —getSearchableAttributes()
Returns a collection of fields that will be encrypted.
public
getSearchableAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed> —search()
Loops through all the different fields to search by
public
search( $phrase) : mixed
Parameters
Return values
mixed —searchUserByAttribute()
Preforms the actual search
protected
static searchUserByAttribute( $field, $phrase) : mixed