API17

Difference between revisions of "JParameter::loadElement"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JParameter::loadElement|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JParameter::loadElement|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JParameter::loadElement ($type, $new=false)
+
public function loadElement (
 +
        $type
 +
        $new=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 29:
 
|boolean
 
|boolean
 
|false
 
|false
|False (default) to reuse parameter elements; true to load the parameter element type again.  
+
|False (default) to reuse parameter elements; true to load the parameter element type again.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' object
object
+
* '''Defined''' on line 335 of libraries/joomla/html/parameter.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/parameter.php (line 327)
 
* see source code in [[jplatform:html/parameter.php#cl-327|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JParameter::loadElement source code''' on [[jplatform:html/parameter.php#cl-327|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JParameter|JParameter]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
 +
* [[API17:JParameter::loadElement|Other versions of JParameter::loadElement]]
 +
{{SeeAlso:JParameter::loadElement}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::loadElement|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::loadElement|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JParameter/11.1|JParameter]]
+
===User contributed notes===
* [[JParameter::loadElement|Other versions of this method]]
 
{{SeeAlso:JParameter::loadElement}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JParameter]][[Category:JParameter::loadElement]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:19, 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.

Joomla 11.1 JParameter::loadElement[edit]

Description[edit]

Loads an element type.

Template:Description:JParameter::loadElement [Edit Descripton]

public function loadElement (
        $type
        $new=false
)
Parameter Type Default Description
$type string The element type.
$new boolean false False (default) to reuse parameter elements; true to load the parameter element type again.
  • Returns object
  • Defined on line 335 of libraries/joomla/html/parameter.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JParameter::loadElement [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />