PHP Класс Nette\Forms\Controls\UploadControl

Автор: David Grudl
Наследование: extends BaseControl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( $label = NULL, $multiple = FALSE )
getHtmlName ( ) : string Returns HTML name of control.
isFilled ( ) : boolean Has been any file uploaded?
isOk ( ) : boolean Have been all files succesfully uploaded?
loadHttpData ( ) : void Loads HTTP data.
setValue ( $value ) : self

Защищенные методы

Метод Описание
attached ( $form ) : void This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.

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

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

public __construct ( $label = NULL, $multiple = FALSE )

attached() защищенный Метод

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
protected attached ( $form ) : void
Результат void

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

Returns HTML name of control.
public getHtmlName ( ) : string
Результат string

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

Has been any file uploaded?
public isFilled ( ) : boolean
Результат boolean

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

Have been all files succesfully uploaded?
public isOk ( ) : boolean
Результат boolean

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

Loads HTTP data.
public loadHttpData ( ) : void
Результат void

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

public setValue ( $value ) : self
Результат self