API17:JFormHelper::loadRuleType
From Joomla! Documentation
JFormHelper::loadRuleType
Description
Method to load a form rule object given a type.
public static function loadRuleType (
$type
$new=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | The rule type. | |
| $new | boolean | true | Flag to toggle whether we should get a new instance of the object. |
- Returns mixed object on success, false otherwise.
- Defined on line 82 of libraries/joomla/form/helper.php
- Since

- Referenced by
See also
JFormHelper::loadRuleType source code on BitBucket
Class JFormHelper
Subpackage Form- Other versions of JFormHelper::loadRuleType
User contributed notes
Code Examples