Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorPost Class Reference
Inheritance diagram for FormValidatorPost:
FormValidator

Public Member Functions

 FormValidatorPost (&$form, $message= 'form.postRequired')
 
 isValid ()
 
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 
 getField ()
 
 getFieldValue ()
 
getForm ()
 
 getMessage ()
 
 getType ()
 
getValidator ()
 
 isEmptyAndOptional ()
 
 isValid ()
 

Additional Inherited Members

- Public Attributes inherited from FormValidator
 $_field
 
 $_form
 
 $_message
 
 $_type
 
 $_validator
 

Detailed Description

Form validation check to make sure the form is POSTed.

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

Member Function Documentation

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

Constructor.

Parameters
$formForm
$messagestring the locale key to use (optional)

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

FormValidatorPost::isValid ( )

Check if form was posted. overrides FormValidator::isValid()

Returns
boolean

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


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