class HiddenField extends BaseControl

Hidden form control used to store a non-displayed value.

Methods

__construct($persistentValue = NULL)

No description

void
setValue($value)

Sets control's value.

Html|string
getControl()

Generates control's HTML element.

Html|string
getLabel($caption = NULL)

Bypasses label generation.

void
addError($message)

Adds error message to the list.

Details

at line 24
__construct($persistentValue = NULL)

No description

Parameters

$persistentValue

at line 41
void setValue($value)

Sets control's value.

Parameters

$value

Return Value

void

at line 57
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 74
Html|string getLabel($caption = NULL)

Bypasses label generation.

Parameters

$caption

Return Value

Html|string

at line 85
void addError($message)

Adds error message to the list.

Parameters

$message

Return Value

void