Open Journal Systems  3.3.0
FormError.inc.php
1 <?php
2 
16 class FormError {
17 
19  var $field;
20 
22  var $message;
23 
30  $this->field = $field;
31  $this->message = $message;
32  }
33 
38  function getField() {
39  return $this->field;
40  }
41 
46  function getMessage() {
47  return $this->message;
48  }
49 }
50 
51 
FormError\__construct
__construct($field, $message)
Definition: FormError.inc.php:29
FormError
Class to represent a form validation error.
Definition: FormError.inc.php:16
FormError\$field
$field
Definition: FormError.inc.php:19
FormError\$message
$message
Definition: FormError.inc.php:22
FormError\getMessage
getMessage()
Definition: FormError.inc.php:46
FormError\getField
getField()
Definition: FormError.inc.php:38