trntv\filekit\widget\Upload::run PHP Méthode

run() public méthode

public run ( ) : string
Résultat string
    public function run()
    {
        $this->registerClientScript();
        $content = Html::beginTag('div');
        $content .= Html::hiddenInput($this->name, null, ['class' => 'empty-value', 'id' => $this->options['id']]);
        $content .= Html::fileInput($this->getFileInputName(), null, ['name' => $this->getFileInputName(), 'id' => $this->getId(), 'multiple' => $this->multiple]);
        $content .= Html::endTag('div');
        return $content;
    }