Actions

API17

Difference between revisions of "JFormHelper::loadFieldType"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JFormHelper::loadFieldType|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFormHelper::loadFieldType|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JFormHelper::loadFieldType ($type, $new=true)
+
public static 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 68 of libraries/joomla/form/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/form/helper.php (line 68)
+
* '''Referenced by'''
* see source code in [[jplatform:form/helper.php#cl-68|BitBucket]]
+
** [[JForm::loadFieldType/11.1|JForm::loadFieldType]]
===Referenced by===
+
* [[JForm::loadFieldType/11.1|JForm::loadFieldType]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JFormHelper::loadFieldType source code''' on [[jplatform:form/helper.php#cl-60|BitBucket]]
 +
* {{JVer|11.1}} Class [[JFormHelper/11.1|JFormHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]]
 +
* [[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>
* [[JFormHelper/11.1|JFormHelper]]
+
===User contributed notes===
* [[JFormHelper::loadFieldType|Other versions of this method]]
+
{{SeeAlso:JFormHelper::loadFieldType}}
+
===Examples===
+
 
<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::loadFieldType]]</noinclude>
 
<noinclude>[[Category:JFormHelper]][[Category:JFormHelper::loadFieldType]]</noinclude>

Revision as of 20:03, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JFormHelper::loadFieldType

Description

Method to load a form field object given a type.

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 Joomla 11.1
  • Referenced by

See also

SeeAlso:JFormHelper::loadFieldType [Edit See Also]

User contributed notes

<CodeExamplesForm />