Interface lispa\amos\core\interfaces\SearchModelInterface

Implemented bylispa\amos\admin\models\search\UserProfileSearch, lispa\amos\community\models\Community, lispa\amos\community\models\base\Community, lispa\amos\community\models\search\CommunitySearch, lispa\amos\core\record\ContentModel, lispa\amos\core\record\NetworkModel, lispa\amos\discussioni\models\search\DiscussioniTopicSearch, lispa\amos\documenti\models\Documenti, lispa\amos\documenti\models\base\Documenti, lispa\amos\documenti\models\search\DocumentiSearch, lispa\amos\events\models\search\EventSearch, lispa\amos\myactivities\basic\CommunityToValidate, lispa\amos\myactivities\basic\DiscussionToValidate, lispa\amos\myactivities\basic\DocumentToValidate, lispa\amos\myactivities\basic\NewsToValidate, lispa\amos\myactivities\basic\PartnershipProfileToValidate, lispa\amos\news\models\News, lispa\amos\news\models\base\News, lispa\amos\news\models\search\NewsSearch, lispa\amos\organizzazioni\models\Profilo, lispa\amos\organizzazioni\models\base\Profilo, lispa\amos\organizzazioni\models\search\ProfiloSearch, lispa\amos\partnershipprofiles\models\search\PartnershipProfilesSearch

Method Details

convertToSearchResult() public abstract method

public abstract \lispa\amos\core\interfaces\SearchResult convertToSearchResult ( $model )
$model object

The model to convert into SearchResult

globalSearch() public abstract method

public abstract \lispa\amos\core\interfaces\ActiveDataProvider globalSearch ( $searchParamsArray, $pageSize )
$searchParamsArray array

Array of search words

$pageSize integer|null
return \lispa\amos\core\interfaces\ActiveDataProvider

Do the search on all text fields