dosamigos\fileupload\FileUpload::run PHP 메소드

run() 공개 메소드

public run ( )
    public function run()
    {
        $input = $this->hasModel() ? Html::activeFileInput($this->model, $this->attribute, $this->options) : Html::fileInput($this->name, $this->value, $this->options);
        echo $this->useDefaultButton ? $this->render('uploadButton', ['input' => $input]) : $input;
        $this->registerClientScript();
    }