Class HiddenField (namespace Nette\Forms)
Hidden form control used to store a non-displayed value.
Object | --Component | --FormControl | --HiddenField
Public Method Summary | |
---|---|
HiddenField |
__construct
([$forcedValue =
NULL ])
|
Html |
getControl
()
Generates control's HTML element.
|
void |
getLabel
()
Bypasses label generation.
|
void |
setValue
(string $value)
Sets control's value.
|
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 41 __constructpublic HiddenField __construct ([$forcedValue =
|
||||||||||||
line 78 getControlpublic Html getControl () Generates control's HTML element.
|
||||||||||||
line 55 getLabelpublic void getLabel () Bypasses label generation.
|
||||||||||||
line 67 setValuepublic void setValue (string $value) Sets control's value.
|