本文整理汇总了PHP中JForm::validateField方法的典型用法代码示例。如果您正苦于以下问题:PHP JForm::validateField方法的具体用法?PHP JForm::validateField怎么用?PHP JForm::validateField使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JForm
的用法示例。
在下文中一共展示了JForm::validateField方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: validateField
public function validateField($element, $group = null, $value = null, $input = null)
{
return parent::validateField($element, $group, $value, $input);
}
示例2: validateField
/**
* 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);
}