skeeks\cms\models\CmsComponentSettings::rules PHP Method

rules() public method

public rules ( ) : array
return array
    public function rules()
    {
        return array_merge(parent::rules(), [[['created_by', 'updated_by', 'created_at', 'updated_at', 'user_id'], 'integer'], [['value'], 'safe'], [['component'], 'string', 'max' => 255], [['site_code'], 'string', 'max' => 15], [['lang_code'], 'string', 'max' => 5], [['namespace'], 'string', 'max' => 50]]);
    }