Class UploadControl
Text box and browse button that allow users to select a file to upload to the server.
- Nette\Object
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\UploadControl
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at vendor/nette/nette/Nette/Forms/Controls/UploadControl.php
Author: David Grudl
Located at vendor/nette/nette/Nette/Forms/Controls/UploadControl.php
public
|
|
protected
|
#
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. |
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public static
boolean
|
#
validateFileSize(
FileSize validator: is file size in limit? |
public static
boolean
|
#
validateMimeType(
MimeType validator: has file specified mime type? |
public static
boolean
|
|
public static
array
|
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
setParent()
|
NAME_SEPARATOR
|
$caption,
$control,
$disabled,
$idMask,
$label,
$value
|
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$rules,
$translator,
$value
|
$name,
$parent
|
$reflection
|