Method |
Description |
|
addFilter ( $filter ) : self |
Appends input string filter callback. |
|
addRule ( $validator, $message = NULL, $arg = NULL ) |
|
|
getControl ( ) |
|
|
getEmptyValue ( ) : string |
Returns the special value which is treated as empty string. |
|
getValue ( ) : string |
Returns control's value. |
|
setEmptyValue ( $value ) : self |
Sets the special value which is treated as empty string. |
|
setMaxLength ( $length ) : self |
Sets the maximum number of allowed characters. |
|
setNullable ( $value = TRUE ) : self |
Sets whether getValue() returns NULL instead of empty string. |
|
setValue ( $value ) : self |
Sets control's value. |
|
validate ( ) : void |
Performs the server side validation. |
|