PHP Класс WhFileUpload

Автор: Antonio Ramirez ([email protected])
Наследование: extends CJuiInputWidget
Показать файл Открыть проект

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

Свойство Тип Описание
$downloadTemplate The template id to display files available for download defaults to null, meaning using the built-in template
$downloadView name of the download view to be rendered
$formView name of the form view to be rendered
$imageProcessing Wheter or not to add the image processing pluging
$multiple boolean set to true to use multiple file upload
$previewImages Wheter or not to preview image files before upload
$previewImagesView name of the view to display images at bootstrap-slideshow
$uploadTemplate The upload template id to display files available for upload defaults to null, meaning using the built-in template
$uploadView name of the upload view to be rendered
$url string the url to the upload handler

Открытые методы

Метод Описание
init ( ) Widget initialization
registerClientScript ( ) Registers and publishes required scripts
run ( ) Generates the required HTML and Javascript

Описание методов

init() публичный Метод

Widget initialization
public init ( )

registerClientScript() публичный Метод

Registers and publishes required scripts

run() публичный Метод

Generates the required HTML and Javascript
public run ( )

Описание свойств

$downloadTemplate публичное свойство

The template id to display files available for download defaults to null, meaning using the built-in template
public $downloadTemplate

$downloadView публичное свойство

name of the download view to be rendered
public $downloadView

$formView публичное свойство

name of the form view to be rendered
public $formView

$imageProcessing публичное свойство

Wheter or not to add the image processing pluging
public $imageProcessing

$multiple публичное свойство

set to true to use multiple file upload
public bool $multiple
Результат boolean

$previewImages публичное свойство

Wheter or not to preview image files before upload
public $previewImages

$previewImagesView публичное свойство

name of the view to display images at bootstrap-slideshow
public $previewImagesView

$uploadTemplate публичное свойство

The upload template id to display files available for upload defaults to null, meaning using the built-in template
public $uploadTemplate

$uploadView публичное свойство

name of the upload view to be rendered
public $uploadView

$url публичное свойство

the url to the upload handler
public string $url
Результат string