class HiddenField extends BaseControl

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

Methods

__construct($persistentValue = null)

No description

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, $translate = true)

Adds error message to the list.

Details

at line 22
__construct($persistentValue = null)

No description

Parameters

$persistentValue

at line 41
IControl setValue($value)

internal  
 

Sets control's value.

Parameters

$value

Return Value

IControl

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 84
void addError($message, $translate = true)

Adds error message to the list.

Parameters

$message
$translate

Return Value

void