JFormHelper::loadRuleType
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFormHelper::loadRuleType[edit]
Description[edit]
Method to load a form rule object given a type.
Template:Description:JFormHelper::loadRuleType [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFormHelper::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[edit]
mixed object on success, false otherwise.
Defined in[edit]
libraries/joomla/form/helper.php (line 82)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JFormHelper::loadRuleType
Examples[edit]
<CodeExamplesForm />