Methods summary
public
|
|
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
|
#
addFilter( callable $filter )
Appends input string filter callback.
Appends input string filter callback.
Parameters
Returns
|
public
string
|
#
sanitize( $value )
Filter: removes unnecessary whitespace and shortens value to control's max
length.
Filter: removes unnecessary whitespace and shortens value to control's max
length.
Returns
string
|
public
Nette\Utils\Html
|
#
getControl( )
Generates control's HTML element.
Generates control's HTML element.
Returns
Overrides
|
public
Nette\Forms\Controls\TextBase
|
#
addRule( mixed $operation, string $message = NULL, mixed $arg = NULL )
Adds a validation rule.
Parameters
- $operation
mixed rule type
- $message
string message to display for invalid data
- $arg
mixed optional rule arguments
Returns
Overrides
|
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
|
|
public static
boolean
|
#
validateRange( Nette\Forms\Controls\TextBase $control, array $range )
Rangle validator: is a control's value number in specified range?
Rangle validator: is a control's value number in specified range?
Parameters
Returns
boolean
|