Interface lispa\amos\core\interfaces\ContentModelInterface
Interface ContentModelInterface
Must be implemented by those model that provides contents to share/publish such as News, Discussioni, Documenti, ..
Public Methods
Method Details
public abstract yii\db\ActiveQuery getCategory ( ) | ||
return | yii\db\ActiveQuery | Category of content |
---|
public abstract array getGridViewColumns ( ) | ||
return | array | The columns ti show as default in GridViewWidget |
---|
public abstract string getPluginWidgetClassname ( ) | ||
return | string | The classname of the generic dashboard widget to access the plugin |
---|
public abstract \lispa\amos\core\interfaces\DateTime getPublicatedAt ( ) | ||
return | \lispa\amos\core\interfaces\DateTime | Date end of publication |
---|
public abstract \lispa\amos\core\interfaces\DateTime getPublicatedFrom ( ) | ||
return | \lispa\amos\core\interfaces\DateTime | Date begin of publication |
---|