Class TextBase
Implements the basic functionality common to text input controls.
- Nette\Object
- Nette\Component implements Nette\IComponent
- Nette\Forms\FormControl implements Nette\Forms\IFormControl
- Nette\Forms\TextBase
public
|
|
public
string
|
|
public
|
|
final public
string
|
|
public
|
|
public
|
|
public static
boolean
|
#
validateMinLength( Nette\Forms\TextBase $control, integer $length )
Min-length validator: has control's value minimal length? |
public static
boolean
|
#
validateMaxLength( Nette\Forms\TextBase $control, integer $length )
Max-length validator: is control's value length in limit? |
public static
boolean
|
#
validateLength( Nette\Forms\TextBase $control, array $range )
Length validator: is control's value length in range? |
public static
boolean
|
#
validateEmail( Nette\Forms\TextBase $control )
Email validator: is control's value valid email address? |
public static
boolean
|
|
public static
boolean
|
#
validateRegexp( Nette\Forms\TextBase $control, string $regexp )
Regular expression validator: matches control's value regular expression? |
public static
boolean
|
#
validateInteger( Nette\Forms\TextBase $control )
Integer validator: is a control's value decimal number? |
public static
boolean
|
#
validateFloat( Nette\Forms\TextBase $control )
Float validator: is a control's value float number? |
public static
boolean
|
#
validateRange( Nette\Forms\TextBase $control, array $range )
Rangle validator: is a control's value number in specified range? |
public static
string
|
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|
protected
string
|
$emptyValue | '' |
|
protected
array
|
$filters | array() |
$caption,
$control,
$idMask,
$label,
$value
|