Class FileUpload
Text box and browse button that allow users to select a file to upload to the server.
- Nette\Object
- Nette\Component implements Nette\IComponent
- Nette\Forms\FormControl implements Nette\Forms\IFormControl
- Nette\Forms\FileUpload
public
|
|
protected
|
|
public
|
|
public static
boolean
|
|
public static
boolean
|
#
validateFileSize( Nette\Forms\FileUpload $control, integer $limit )
FileSize validator: is file size in limit? |
public static
boolean
|
#
validateMimeType( Nette\Forms\FileUpload $control, array|string $mimeType )
MimeType validator: has file specified mime type? |
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|
$caption,
$control,
$idMask,
$label,
$value
|