FormValidatorPost Class Reference
[Form_validation]

Form validation check to make sure the form is POSTed. More...

Inheritance diagram for FormValidatorPost:

FormValidator

List of all members.

Public Member Functions

 FormValidatorPost (&$form, $message= 'form.postRequired')
 isValid ()


Detailed Description

Form validation check to make sure the form is POSTed.

Definition at line 20 of file FormValidatorPost.inc.php.


Member Function Documentation

FormValidatorPost.FormValidatorPost ( &$  form,
message = 'form.postRequired' 
)

Constructor.

See also:
FormValidator.FormValidator()
Parameters:
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.

Returns:
boolean

Reimplemented from FormValidator.

Definition at line 35 of file FormValidatorPost.inc.php.

References Request.isPost().


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:42 2008 for Open Journal Systems by  doxygen 1.5.6