PHP Class Nette\Forms\Controls\HiddenField

Author: David Grudl
Inheritance: extends BaseControl
Mostrar archivo Open project: nette/forms Class Usage Examples

Public Methods

Method Description
__construct ( $persistentValue = NULL )
addError ( $message ) : void Adds error message to the list.
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
getLabel ( $caption = NULL ) : void Bypasses label generation.
setValue ( $value ) : self Sets control's value.

Method Details

__construct() public method

public __construct ( $persistentValue = NULL )

addError() public method

Adds error message to the list.
public addError ( $message ) : void
return void

getControl() public method

Generates control's HTML element.
public getControl ( ) : Nette\Utils\Html
return Nette\Utils\Html

getLabel() public method

Bypasses label generation.
public getLabel ( $caption = NULL ) : void
return void

setValue() public method

Sets control's value.
public setValue ( $value ) : self
return self