Difference between revisions of "JFormHelper::loadFieldType"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFormHelper::loadFieldType|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFormHelper::loadFieldType|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function loadFieldType ( |
+ | $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 68 of libraries/joomla/form/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/form/helper.php | + | * '''Referenced by''' |
− | + | ** [[API17:JForm::loadFieldType|JForm::loadFieldType]] | |
− | * [[JForm | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFormHelper::loadFieldType source code''' on [[jplatform:form/helper.php#cl-60|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JFormHelper|JFormHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | ||
+ | * [[API17:JFormHelper::loadFieldType|Other versions of JFormHelper::loadFieldType]] | ||
+ | {{SeeAlso:JFormHelper::loadFieldType}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFormHelper::loadFieldType|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFormHelper::loadFieldType|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:49, 11 May 2013
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::loadFieldType[edit]
Description[edit]
Method to load a form field object given a type.
Template:Description:JFormHelper::loadFieldType [Edit Descripton]
public static function loadFieldType (
$type
$new=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$type | string | The field 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 68 of libraries/joomla/form/helper.php
- Since
- Referenced by
See also[edit]
- JFormHelper::loadFieldType source code on BitBucket
- Class JFormHelper
- Subpackage Form
- Other versions of JFormHelper::loadFieldType
Template:SeeAlso:JFormHelper::loadFieldType [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />