PHP Class Nette\Forms\Controls\TextInput

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

Public Methods

Method Description
__construct ( $label = NULL, $maxLength = NULL )
addRule ( $validator, $message = NULL, $arg = NULL )
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
loadHttpData ( ) : void Loads HTTP data.
setType ( $type ) : self Changes control's type attribute.

Method Details

__construct() public method

public __construct ( $label = NULL, $maxLength = NULL )

addRule() public method

public addRule ( $validator, $message = NULL, $arg = NULL )

getControl() public method

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

loadHttpData() public method

Loads HTTP data.
public loadHttpData ( ) : void
return void

setType() public method

Changes control's type attribute.
public setType ( $type ) : self
return self