Class HiddenField
Hidden form control used to store a non-displayed value.
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
uses
Nette\SmartObject
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\HiddenField
Methods summary
public
|
|
public
Nette\Forms\Controls\HiddenField
|
#
setValue( string $value )
Sets control's value.
Parameters
Returns
Internal
Overrides
|
public
Nette\Utils\Html
|
#
getControl( )
Generates control's HTML element.
Generates control's HTML element.
Returns
Overrides
|
public
|
#
getLabel( string|object $caption = null )
Bypasses label generation.
Bypasses label generation.
Parameters
Overrides
|
public
|
#
addError( string|object $message, $translate = true )
Adds error message to the list.
Adds error message to the list.
Parameters
Overrides
|
Methods inherited from Nette\Forms\Controls\BaseControl
__call(),
addCondition(),
addConditionOn(),
addRule(),
attached(),
cleanErrors(),
enableAutoOptionalMode(),
extensionMethod(),
getControlPart(),
getControlPrototype(),
getError(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getHttpData(),
getLabelPart(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isFilled(),
isOmitted(),
isRequired(),
loadHttpData(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlAttribute(),
setHtmlId(),
setOmitted(),
setOption(),
setRequired(),
setTranslator(),
translate(),
validate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$disabled,
$error,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$value
|