class PageSearch extends DvsPage

Class PageSearch is an example of how you could search for pages using the SearchableModelTrait

Traits

Class SearchableModelTrait can be applied to an eloquent model to give it "searchablity". You have to override the getColumns method and/or make a protected $searchable = array('column1' => 1, 'column2' => 2);

Properties

string $searchableType
LanguageDetector $LanguageDetector

Methods

scopeSearch($query, $search)

No description

Details

at line 41
scopeSearch($query, $search)

Parameters

$query
$search