API17

Difference between revisions of "JForm::loadFieldType"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JForm::loadFieldType|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JForm::loadFieldType|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JForm::loadFieldType ($type, $new=true)
+
protected function loadFieldType (
 +
        $type
 +
        $new=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed  object on success, false otherwise.
mixed  object on success, false otherwise.
+
* '''Defined''' on line 1484 of libraries/joomla/form/form.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/form/form.php (line 1474)
 
* see source code in [[jplatform:form/form.php#cl-1474|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JForm::loadFieldType source code''' on [[jplatform:form/form.php#cl-1476|BitBucket]]
 +
* {{JVer|11.1}} Class [[JForm/11.1|JForm]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]]
 +
* [[JForm::loadFieldType|Other versions of JForm::loadFieldType]]
 +
{{SeeAlso:JForm::loadFieldType}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JForm::loadFieldType|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JForm::loadFieldType|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JForm/11.1|JForm]]
+
===User contributed notes===
* [[JForm::loadFieldType|Other versions of this method]]
 
{{SeeAlso:JForm::loadFieldType}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JForm]][[Category:JForm::loadFieldType]]</noinclude>
 
<noinclude>[[Category:JForm]][[Category:JForm::loadFieldType]]</noinclude>

Revision as of 20:59, 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.

Joomla 11.1 JForm::loadFieldType[edit]

Description[edit]

Proxy for .

Template:Description:JForm::loadFieldType [Edit Descripton]

protected 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 1484 of libraries/joomla/form/form.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JForm::loadFieldType [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />