Beispiel #1
0
 public function validateField($element, $group = null, $value = null, $input = null)
 {
     return parent::validateField($element, $group, $value, $input);
 }
Beispiel #2
0
 /**
  * Method to validate a JFormField object based on field data.
  *
  * @param   SimpleXMLElement  $element  The XML element object representation of the form field.
  * @param   string            $group    The optional dot-separated form group path on which to find the field.
  * @param   mixed             $value    The optional value to use as the default for the field.
  * @param   Registry          $input    An optional Registry object with the entire data set to validate
  *                                      against the entire form.
  *
  * @return  mixed  Boolean true if field value is valid, Exception on failure.
  */
 public function validateField(SimpleXMLElement $element, $group = null, $value = null, Registry $input = null)
 {
     return parent::validateField($element, $group, $value, $input);
 }