interface SearchLoopInterface

Constants

MODE_ANY_WORD

MODE_SENTENCE

MODE_STRICT_SENTENCE

Methods

array
getSearchIn()

No description

doSearch( ModelCriteria $search, string $searchTerm, array $searchIn, string $searchCriteria)

No description

Details

at line 31
array getSearchIn()

Return Value

array of available field to search in

at line 39
doSearch( ModelCriteria $search, string $searchTerm, array $searchIn, string $searchCriteria)

Parameters

ModelCriteria $search a query
string $searchTerm the searched term
array $searchIn available field to search in
string $searchCriteria the search criteria, such as Criterial::LIKE, Criteria::EQUAL, etc.