Interface lispa\amos\core\interfaces\CmsModelInterface
Public Methods
Method | Description | Defined 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
Method to know if the module can be viewed from the frontend
public abstract boolean cmsIsVisible ( $id ) | ||
$id | integer |
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 |
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 |
---|
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 |
---|