API17:JFormHelper::loadRuleType
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFormHelper::loadRuleType
Description
Method to load a form rule object given a type.
Description:JFormHelper::loadRuleType [Edit Descripton]
Since
Synopsis
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
mixed object on success, false otherwise.
Defined in
libraries/joomla/form/helper.php
Referenced by
See also
SeeAlso:JFormHelper::loadRuleType
Examples
<CodeExamplesForm />
