[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Form/Rule/ -> CaptchaRule.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 70 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CaptchaRule:: (1 method):
  test()


Class: CaptchaRule  - X-Ref

Form Rule class for the Joomla Framework.

test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null)   X-Ref
Method to test if the Captcha is correct.

param: \SimpleXMLElement  $element  The SimpleXMLElement object representing the `<field>` tag for the form field object.
param: mixed              $value    The form field value to validate.
param: string             $group    The field name group control value. This acts as an array container for the field.
param: Registry           $input    An optional Registry object with the entire data set to validate against the entire form.
param: Form               $form     The form object for which the field is being tested.
return: boolean  True if the value is valid, false otherwise.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer