[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_scheduler/src/Rule/ -> ExecutionRulesRule.php (summary)

(no description)

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

Defines 1 class

ExecutionRulesRule:: (2 methods):
  test()
  validateField()


Class: ExecutionRulesRule  - X-Ref

The ExecutionRulesRule Class.
Validates execution rules, with input for other fields as context.

test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null)   X-Ref

param: \SimpleXMLElement  $element  The SimpleXMLElement object representing the `<field>` tag for the form
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
param: ?Registry          $input    An optional Registry object with the entire data set to validate against
param: ?Form              $form     The form object for which the field is being tested.
return: boolean

validateField(\SimpleXMLElement $element, $value, ?string $group = null, ?Form $form = null)   X-Ref

param: \SimpleXMLElement  $element  The SimpleXMLElement for the field.
param: mixed              $value    The field value.
param: ?string            $group    The form field group the element belongs to.
param: Form|null          $form     The Form object against which the field is tested/
return: boolean  True if field is valid



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