
Public Member Functions | |
| FormValidatorPost (&$form, $message= 'form.postRequired') | |
| isValid () | |
Definition at line 20 of file FormValidatorPost.inc.php.
| FormValidatorPost.FormValidatorPost | ( | &$ | form, | |
| $ | message = 'form.postRequired' | |||
| ) |
Constructor.
| message | string the locale key to use (optional) |
Definition at line 26 of file FormValidatorPost.inc.php.
References FormValidator.$form, and FormValidator.$message.
| FormValidatorPost.isValid | ( | ) |
Check if field value is valid. Value is valid if it is empty and optional or matches regular expression.
Reimplemented from FormValidator.
Definition at line 35 of file FormValidatorPost.inc.php.
References Request.isPost().
1.5.6