skeeks\cms\models\CmsComponentSettings::rules PHP 메소드

rules() 공개 메소드

public rules ( ) : array
리턴 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]]);
    }