Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (&$form, $message='form.postRequired') | |
isValid () | |
Public Member Functions inherited from FormValidator | |
__construct (&$form, $field, $type, $message, $validator=null) | |
getField () | |
getFieldValue () | |
& | getForm () |
getMessage () | |
getType () | |
& | getValidator () |
isEmptyAndOptional () | |
Additional Inherited Members | |
Data Fields inherited from FormValidator | |
$_field | |
$_form | |
$_message | |
$_type | |
$_validator | |
Form validation check to make sure the form is POSTed.
Definition at line 18 of file FormValidatorPost.inc.php.
FormValidatorPost::__construct | ( | & | $form, |
$message = 'form.postRequired' |
|||
) |
Constructor.
$form | Form |
$message | string 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()
Reimplemented from FormValidator.
Definition at line 37 of file FormValidatorPost.inc.php.
References PKPApplication\get().