이름 | 설명 |
---|---|
PageSearch | Class PageSearch is an example of how you could search for pages using the SearchableModelTrait |
Pagination | Class Pagination is used so we can paginate search results from many different searched models |
UniversalSearch | Class UniversalSearch lets us register new searchable models and then search through all of them |
UniversalSearchProvider | Class DeviseUniversalSearchProvider registers the universal searching mechanism for Devise |
이름 | 설명 |
---|---|
SearchableModelTrait | 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); |