Class NHiddenField
Hidden form control used to store a non-displayed value.
-
NObject
-
NComponent
implements
IComponent
-
NFormControl
implements
IFormControl
-
NHiddenField
Methods summary
public
|
#
__construct( string $forcedValue = NULL )
Parameters
- $forcedValue
string caption
Overrides
|
public
NHiddenField
|
#
setValue( string $value )
Sets control's value.
Parameters
Returns
Overrides
|
public
NHtml
|
#
getControl( )
Generates control's HTML element.
Generates control's HTML element.
Returns
Overrides
|
public
|
#
getLabel( string $caption = NULL )
Bypasses label generation.
Bypasses label generation.
Parameters
Overrides
|
Methods inherited from NFormControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
exportRules(),
getControlPrototype(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isFilled(),
isRequired(),
loadHttpData(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOption(),
setRequired(),
setTranslator(),
translate()
|
Methods inherited from NComponent
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from NFormControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$options,
$required,
$rules,
$translator,
$value
|