PHP 클래스 TbFileUpload

상속: extends CJuiInputWidget
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$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 Whether or not to add the image processing pluing
$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 ( string $id ) Registers and publishes required scripts
run ( ) Generates the required HTML and Javascript

비공개 메소드들

메소드 설명
getFileValidatorProperty ( CModel $model = null, string $attribute = null, null $property = null ) : string Check for a property of CFileValidator

메소드 상세

init() 공개 메소드

Widget initialization
public init ( )

registerClientScript() 공개 메소드

Registers and publishes required scripts
public registerClientScript ( string $id )
$id string

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 공개적으로 프로퍼티

Whether or not to add the image processing pluing
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