PHP Class Nette\Forms\Controls\UploadControl

Author: David Grudl
Inheritance: extends BaseControl
Afficher le fichier Open project: nette/forms Class Usage Examples

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

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

attached() protected méthode

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
Résultat void

getHtmlName() public méthode

Returns HTML name of control.
public getHtmlName ( ) : string
Résultat string

isFilled() public méthode

Has been any file uploaded?
public isFilled ( ) : boolean
Résultat boolean

isOk() public méthode

Have been all files succesfully uploaded?
public isOk ( ) : boolean
Résultat boolean

loadHttpData() public méthode

Loads HTTP data.
public loadHttpData ( ) : void
Résultat void

setValue() public méthode

public setValue ( $value ) : self
Résultat self