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
Methods summary
public
|
|
protected
|
#
attached( Nette\ComponentModel\IComponent $form )
This method will be called when the component (or component's parent) becomes
attached to a monitored object. Do not call this method yourself.
This method will be called when the component (or component's parent) becomes
attached to a monitored object. Do not call this method yourself.
Parameters
Overrides
|
public
Nette\Forms\Controls\UploadControl
|
|
public
boolean
|
#
isFilled( )
Has been any file uploaded?
Has been any file uploaded?
Returns
boolean
Overrides
|
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
cleanErrors(),
exportRules(),
getControl(),
getControlPrototype(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getLabel(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isRequired(),
loadHttpData(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOption(),
setRequired(),
setTranslator(),
translate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$options,
$required,
$rules,
$translator,
$value
|