API17:JFormHelper::loadRuleType
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 35: | Line 35: | ||
mixed object on success, false otherwise. | mixed object on success, false otherwise. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/form/helper.php | + | libraries/joomla/form/helper.php (line 82) |
| + | * see source code in [[jplatform:form/helper.php#cl-82|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
| − | * [[JForm | + | * [[JForm::loadRuleType/11.1|JForm::loadRuleType]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 20:38, 23 April 2011
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 (line 82)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JFormHelper::loadRuleType
Examples
<CodeExamplesForm />
