JFormHelper::loadRuleClass
Attempt to import the JFormRule class file if it isn't already imported.
You can use this method outside of JForm for loading a rule for inheritance or composition.
Signature
public function loadRuleClass(string
$type )
Parameters
-
$type
- Type of a rule whose class should be loaded.
Returns
- mixed
- Class name on success or false otherwise.