JFormHelper::loadRuleType
Method to load a form rule object given a type.
Signature
public function loadRuleType(string
$type,
[boolean
$new = true] )
Parameters
-
$type
- The rule type.
-
$new
- Flag to toggle whether we should get a new instance of the object.
Returns
- mixed
- JFormRule object on success, false otherwise.