Difference between revisions of "JFormHelper::loadRuleType"
From Joomla! Documentation
(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
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 />