Interface lispa\amos\core\interfaces\CmsModelInterface

Implemented bylispa\amos\community\models\search\CommunitySearch, lispa\amos\discussioni\models\search\DiscussioniTopicSearch, lispa\amos\events\models\search\EventSearch, lispa\amos\faq\models\FaqSearch, lispa\amos\myactivities\basic\CommunityToValidate, lispa\amos\myactivities\basic\DiscussionToValidate, lispa\amos\myactivities\basic\NewsToValidate, lispa\amos\news\models\search\NewsSearch

Public Methods

Hide inherited methods

MethodDescriptionDefined By
cmsIsVisible() Method to know if the module can be viewed from the frontend lispa\amos\core\interfaces\CmsModelInterface
cmsSearch() Search method useful to retrieve data to show in frontend (with cms) lispa\amos\core\interfaces\CmsModelInterface
cmsSearchFields() Return the list of fields to search for in frontend pages made by cms.For each field , also the field type is specified. lispa\amos\core\interfaces\CmsModelInterface
cmsViewFields() Return a list of fields that can be shown in frontend pages made by cms. For each field , also the field type is specified. lispa\amos\core\interfaces\CmsModelInterface

Method Details

cmsIsVisible() public abstract method

Method to know if the module can be viewed from the frontend

public abstract boolean cmsIsVisible ( $id )
$id integer
cmsSearch() public abstract method

Search method useful to retrieve data to show in frontend (with cms)

public abstract \lispa\amos\core\interfaces\ActiveDataProvider cmsSearch ( $params, $limit )
$params
$limit integer|null
cmsSearchFields() public abstract method

Return the list of fields to search for in frontend pages made by cms.For each field , also the field type is specified.

public abstract array cmsSearchFields ( )
return array

An array of lispa\amos\core\record\CmsField objects

cmsViewFields() public abstract method

Return a list of fields that can be shown in frontend pages made by cms. For each field , also the field type is specified.

In "Backend modules" cms section, user can choose to show only some of these fields.

public abstract array cmsViewFields ( )
return array

An array of lispa\amos\core\record\CmsField objects