Methods summary
public
Nette\Forms\Controls\TextBase
|
#
setValue( string $value )
Sets control's value.
Parameters
Returns
Overrides
|
public
string
|
#
getValue( )
Returns control's value.
Returns
string
Overrides
|
public
Nette\Forms\Controls\TextBase
|
#
setEmptyValue( string $value )
Sets the special value which is treated as empty string.
Sets the special value which is treated as empty string.
Parameters
Returns
|
public
string
|
#
getEmptyValue( )
Returns the special value which is treated as empty string.
Returns the special value which is treated as empty string.
Returns
string
|
public
Nette\Forms\Controls\TextBase
|
#
setMaxLength( integer $length )
Sets the maximum number of allowed characters.
Sets the maximum number of allowed characters.
Parameters
Returns
|
public
Nette\Forms\Controls\TextBase
|
#
addFilter( callable $filter )
Appends input string filter callback.
Appends input string filter callback.
Deprecated
Parameters
Returns
|
public
Html|string
|
#
getControl( )
Generates control's HTML element.
Generates control's HTML element.
Returns
Html|string
Overrides
|
public
Nette\Forms\Controls\TextBase
|
#
addRule( mixed $validator, string $message = NULL, mixed $arg = NULL )
Adds a validation rule.
Parameters
- $validator
mixed rule type
- $message
string message to display for invalid data
- $arg
mixed optional rule arguments
Returns
Overrides
|
public static
|
|