public function uploadField(UploadField $uploadField)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', 'file');
        $tag->setAttribute('accept', $uploadField->getAccept());
        if ($uploadField->isMultiple()) {
            $tag->setAttribute('multiple', 'multiple');
        }


        return $this->parseTag($tag, $uploadField);
    }
public function uploadField(UploadField $uploadField)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', 'file');
        $tag->setAttribute('accept', $uploadField->getAccept());
        if ($uploadField->isMultiple()) {
            $tag->setAttribute('multiple', 'multiple');
        }


        return $this->parseTag($tag, $uploadField);
    }
public function uploadField ( UploadField $ uploadField ) { $ tag = new Tag ( 'input' ) ; $ tag -> setAttribute ( 'type' , 'file' ) ; $ tag -> setAttribute ( 'accept' , $ uploadField -> getAccept ( ) ) ; if ( $ uploadField -> isMultiple ( ) ) { $ tag -> setAttribute ( 'multiple' , 'multiple' ) ; } return $ this -> parseTag ( $ tag , $ uploadField ) ; }
Render an UploadField

@param UploadField $uploadField
@return string
Render an UploadField