PHP 클래스 trntv\filekit\widget\Upload

상속: extends yii\widgets\InputWidget
파일 보기 프로젝트 열기: trntv/yii2-file-kit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$acceptFileTypes regexp
$clientOptions array
$files
$maxFileSize max file size in bytes
$maxNumberOfFiles integer
$messagesCategory string
$minFileSize min file size in bytes
$multiple boolean
$showPreviewFilename boolean
$sortable boolean
$url array | ArrayObject

공개 메소드들

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

보호된 메소드들

메소드 설명
registerMessages ( ) : void

메소드 상세

getFileInputName() 공개 메소드

public getFileInputName ( ) : string
리턴 string

init() 공개 메소드

public init ( )

registerClientScript() 공개 메소드

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

registerMessages() 보호된 메소드

protected registerMessages ( ) : void
리턴 void Registers widget translations

run() 공개 메소드

public run ( ) : string
리턴 string

프로퍼티 상세

$acceptFileTypes 공개적으로 프로퍼티

regexp
public $acceptFileTypes

$clientOptions 공개적으로 프로퍼티

public array $clientOptions
리턴 array

$files 공개적으로 프로퍼티

public $files

$maxFileSize 공개적으로 프로퍼티

max file size in bytes
public $maxFileSize

$maxNumberOfFiles 공개적으로 프로퍼티

public int $maxNumberOfFiles
리턴 integer

$messagesCategory 공개적으로 프로퍼티

public string $messagesCategory
리턴 string

$minFileSize 공개적으로 프로퍼티

min file size in bytes
public $minFileSize

$multiple 공개적으로 프로퍼티

public bool $multiple
리턴 boolean

$showPreviewFilename 공개적으로 프로퍼티

public bool $showPreviewFilename
리턴 boolean

$sortable 공개적으로 프로퍼티

public bool $sortable
리턴 boolean

$url 공개적으로 프로퍼티

public array|ArrayObject $url
리턴 array | ArrayObject