\JFormRuleContactEmailSubject
JFormRule for com_contact to make sure the subject contains no banned word.
Synopsis
class JFormRuleContactEmailSubject
extends JFormRule
{
- // Inherited members from JFormRule
- protected $regex;
- protected $modifiers;
- // methods
- public boolean test()
- // Inherited methods from JFormRule
- public boolean test()
Hierarchy
Extends
Members
protected
- $modifiers
—
string
The regular expression modifiers to use when testing a form field value. - $regex
—
string
The regular expression to use in testing a form field value.