|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (&$form, $message='form.csrfInvalid') | |
| 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 CSRF token is correct.
Definition at line 18 of file FormValidatorCSRF.inc.php.
| FormValidatorCSRF::__construct | ( | & | $form, |
$message = 'form.csrfInvalid' |
|||
| ) |
Constructor.
| $form | Form |
| $message | string the locale key to use (optional) |
Definition at line 24 of file FormValidatorCSRF.inc.php.
| FormValidatorCSRF::isValid | ( | ) |
Check if the CSRF token is correct. overrides FormValidator::isValid()
Reimplemented from FormValidator.
Definition at line 37 of file FormValidatorCSRF.inc.php.
References PKPApplication\get().