Class HiddenField
Hidden form control used to store a non-displayed value.
- Object
-
Component implements IComponent
-
FormControl implements IFormControl
-
HiddenField
public
|
#
__construct(
$forcedValue = NULL
)
|
public
void
|
#
getLabel(
$caption = NULL
)
Bypasses label generation. Bypasses label generation. |
public
HiddenField
|
#
setValue(
string
$value
)
Sets control's value. Sets control's value. Parameters$value stringReturnsHiddenField provides a fluent interface
Implementation of |
public
Html
|
#
getControl(
)
Generates control's HTML element. Generates control's HTML element. |
Methods Inherited From FormControl
__construct(), attached(), getForm(), getHtmlName(), setHtmlId(), getHtmlId(), setAttribute(), setOption(), getOption(), getOptions(), setTranslator(), getTranslator(), translate(), setValue(), getValue(), isFilled(), setDefaultValue(), loadHttpData(), setDisabled(), isDisabled(), getControl(), getLabel(), getControlPrototype(), getLabelPrototype(), addRule(), addCondition(), addConditionOn(), getRules(), setRequired(), isRequired(), validateEqual(), validateFilled(), validateValid(), addError(), getErrors(), hasErrors(), cleanErrors()
Methods Inherited From Component
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From Component
NAME_SEPARATOR
Properties Inherited From FormControl
$idMask, $caption, $value, $control, $label