NewsModule::getParamsLabels PHP Method

getParamsLabels() public method

public getParamsLabels ( ) : array
return array
    public function getParamsLabels()
    {
        return ['mainCategory' => Yii::t('NewsModule.news', 'Main news category'), 'editor' => Yii::t('NewsModule.news', 'Visual Editor'), 'uploadPath' => Yii::t('NewsModule.news', 'Uploading files catalog (relatively {path})', ['{path}' => Yii::getPathOfAlias('webroot') . DIRECTORY_SEPARATOR . Yii::app()->getModule("yupe")->uploadPath]), 'allowedExtensions' => Yii::t('NewsModule.news', 'Accepted extensions (separated by comma)'), 'minSize' => Yii::t('NewsModule.news', 'Minimum size (in bytes)'), 'maxSize' => Yii::t('NewsModule.news', 'Maximum size (in bytes)'), 'rssCount' => Yii::t('NewsModule.news', 'RSS records'), 'perPage' => Yii::t('NewsModule.news', 'News per page')];
    }