Interface lispa\amos\core\interfaces\ContentModelInterface

Extendslispa\amos\core\interfaces\BaseContentModelInterface, lispa\amos\core\interfaces\ModelLabelsInterface, lispa\amos\core\interfaces\WorkflowModelInterface
Implemented bylispa\amos\admin\models\UserProfile, lispa\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\cwh\base\ModelContentInterface, lispa\amos\discussioni\models\DiscussioniTopic, 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\een\models\EenPartnershipProposal, lispa\amos\een\models\search\EenPartnershipProposalSearch, lispa\amos\events\models\Event, 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\myactivities\basic\UserProfileActivationRequest, lispa\amos\myactivities\basic\UserProfileToValidate, 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\PartnershipProfiles, lispa\amos\partnershipprofiles\models\search\PartnershipProfilesSearch

Interface ContentModelInterface

Must be implemented by those model that provides contents to share/publish such as News, Discussioni, Documenti, ..

Method Details

getCategory() public abstract method

public abstract yii\db\ActiveQuery getCategory ( )
return yii\db\ActiveQuery

Category of content

getGridViewColumns() public abstract method

public abstract array getGridViewColumns ( )
return array

The columns ti show as default in GridViewWidget

getPluginWidgetClassname() public abstract method

public abstract string getPluginWidgetClassname ( )
return string

The classname of the generic dashboard widget to access the plugin

getPublicatedAt() public abstract method

public abstract \lispa\amos\core\interfaces\DateTime getPublicatedAt ( )
return \lispa\amos\core\interfaces\DateTime

Date end of publication

getPublicatedFrom() public abstract method

public abstract \lispa\amos\core\interfaces\DateTime getPublicatedFrom ( )
return \lispa\amos\core\interfaces\DateTime

Date begin of publication