PHP 클래스 dosamigos\fileupload\FileUploadUI

Widget to render the jQuery File Upload UI plugin as shown in its demo
저자: Alexander Kochetov ([email protected])
상속: extends BaseUpload
파일 보기 프로젝트 열기: 2amigos/yii2-file-upload-widget 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$downloadTemplateId the ID of the download template, given as parameter to the tmpl() method to set the downloadTemplate option.
$downloadTemplateView the download view path to render the js download template
$fieldOptions the HTML attributes for the file input tag.
$formView the form view path to render the JQuery File Upload UI
$gallery whether to use the Bootstrap Gallery on the images or not
$galleryTemplateView the gallery
$load load previously uploaded images or not
$uploadTemplateId the ID of the upload template, given as parameter to the tmpl() method to set the uploadTemplate option.
$uploadTemplateView the upload view path to render the js upload template

공개 메소드들

메소드 설명
init ( )
registerClientScript ( ) Registers required script for the plugin to work as jQuery File Uploader UI
run ( )

메소드 상세

init() 공개 메소드

public init ( )

registerClientScript() 공개 메소드

Registers required script for the plugin to work as jQuery File Uploader UI

run() 공개 메소드

public run ( )

프로퍼티 상세

$downloadTemplateId 공개적으로 프로퍼티

the ID of the download template, given as parameter to the tmpl() method to set the downloadTemplate option.
public $downloadTemplateId

$downloadTemplateView 공개적으로 프로퍼티

the download view path to render the js download template
public $downloadTemplateView

$fieldOptions 공개적으로 프로퍼티

the HTML attributes for the file input tag.
또한 보기: yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
public $fieldOptions

$formView 공개적으로 프로퍼티

the form view path to render the JQuery File Upload UI
public $formView

$galleryTemplateView 공개적으로 프로퍼티

the gallery
public $galleryTemplateView

$load 공개적으로 프로퍼티

load previously uploaded images or not
public $load

$uploadTemplateId 공개적으로 프로퍼티

the ID of the upload template, given as parameter to the tmpl() method to set the uploadTemplate option.
public $uploadTemplateId

$uploadTemplateView 공개적으로 프로퍼티

the upload view path to render the js upload template
public $uploadTemplateView