Difference between revisions of "JFormHelper::loadRuleType"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFormHelper::loadRuleType|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFormHelper::loadRuleType|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function loadRuleType ( |
+ | $type | ||
+ | $new=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed object on success, false otherwise. | |
− | mixed object on success, false otherwise. | + | * '''Defined''' on line 82 of libraries/joomla/form/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/form/helper.php | + | * '''Referenced by''' |
− | * | + | ** [[JForm::loadRuleType/11.1|JForm::loadRuleType]] |
− | |||
− | * [[JForm::loadRuleType/11.1|JForm::loadRuleType]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFormHelper::loadRuleType source code''' on [[jplatform:form/helper.php#cl-74|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JFormHelper/11.1|JFormHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]] | ||
+ | * [[JFormHelper::loadRuleType|Other versions of JFormHelper::loadRuleType]] | ||
+ | {{SeeAlso:JFormHelper::loadRuleType}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFormHelper::loadRuleType|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFormHelper::loadRuleType|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFormHelper]][[Category:JFormHelper::loadRuleType]]</noinclude> | <noinclude>[[Category:JFormHelper]][[Category:JFormHelper::loadRuleType]]</noinclude> |
Revision as of 21:03, 27 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]
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[edit]
- JFormHelper::loadRuleType source code on BitBucket
- Class JFormHelper
- Subpackage Form
- Other versions of JFormHelper::loadRuleType
Template:SeeAlso:JFormHelper::loadRuleType [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />