PHP Класс dosamigos\fileupload\FileUploadUI

Widget to render the jQuery File Upload UI plugin as shown in its demo
Автор: Alexander Kochetov ([email protected])
Наследование: extends BaseUpload
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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