CssIdentifierSubstringRule
class CssIdentifierSubstringRule extends FormRule
Form Rule class for the Joomla Platform.
Properties
protected string
Since: 1.6
|
$regex | The regular expression to use in testing a form field value. |
from FormRule |
protected string
Since: 1.6
|
$modifiers | The regular expression modifiers to use when testing a form field value. |
from FormRule |
Methods
bool
test(SimpleXMLElement $element, mixed $value, string $group = null, Registry|null $input = null, Form|null $form = null)
Method to test if a string is a valid CSS identifier substring
Details
bool
test(SimpleXMLElement $element, mixed $value, string $group = null, Registry|null $input = null, Form|null $form = null)
Since: 3.10.7
Method to test if a string is a valid CSS identifier substring