PHP Class trntv\filekit\widget\Upload

Inheritance: extends yii\widgets\InputWidget
Afficher le fichier Open project: trntv/yii2-file-kit Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
getFileInputName ( ) : string
init ( )
registerClientScript ( ) Registers required script for the plugin to work as jQuery File Uploader
run ( ) : string

Méthodes protégées

Méthode Description
registerMessages ( ) : void

Method Details

getFileInputName() public méthode

public getFileInputName ( ) : string
Résultat string

init() public méthode

public init ( )

registerClientScript() public méthode

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

registerMessages() protected méthode

protected registerMessages ( ) : void
Résultat void Registers widget translations

run() public méthode

public run ( ) : string
Résultat string

Property Details

$acceptFileTypes public_oe property

regexp
public $acceptFileTypes

$clientOptions public_oe property

public array $clientOptions
Résultat array

$files public_oe property

public $files

$maxFileSize public_oe property

max file size in bytes
public $maxFileSize

$maxNumberOfFiles public_oe property

public int $maxNumberOfFiles
Résultat integer

$messagesCategory public_oe property

public string $messagesCategory
Résultat string

$minFileSize public_oe property

min file size in bytes
public $minFileSize

$multiple public_oe property

public bool $multiple
Résultat boolean

$showPreviewFilename public_oe property

public bool $showPreviewFilename
Résultat boolean

$sortable public_oe property

public bool $sortable
Résultat boolean

$url public_oe property

public array|ArrayObject $url
Résultat array | ArrayObject