Actions

API17

Difference between revisions of "JParameter"

From Joomla! Documentation

m (User contributed notes: bad link repair)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::__construct/11.1|__construct]]
+
|[[API17:JParameter::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::addElementPath/11.1|addElementPath]]
+
|[[API17:JParameter::addElementPath|addElementPath]]
 
|Add a directory where  should search for element types.  
 
|Add a directory where  should search for element types.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::bind/11.1|bind]]
+
|[[API17:JParameter::bind|bind]]
 
|Bind data to the parameter.  
 
|Bind data to the parameter.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::def/11.1|def]]
+
|[[API17:JParameter::def|def]]
 
|Sets a default value if not alreay assigned.  
 
|Sets a default value if not alreay assigned.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::getGroups/11.1|getGroups]]
+
|[[API17:JParameter::getGroups|getGroups]]
 
|Get the number of params in each group.  
 
|Get the number of params in each group.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::getNumParams/11.1|getNumParams]]
+
|[[API17:JParameter::getNumParams|getNumParams]]
 
|Return the number of parameters in a group.  
 
|Return the number of parameters in a group.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::getParam/11.1|getParam]]
+
|[[API17:JParameter::getParam|getParam]]
 
|Render a parameter type.  
 
|Render a parameter type.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::getParams/11.1|getParams]]
+
|[[API17:JParameter::getParams|getParams]]
 
|Render all parameters.  
 
|Render all parameters.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::loadElement/11.1|loadElement]]
+
|[[API17:JParameter::loadElement|loadElement]]
 
|Loads an element type.  
 
|Loads an element type.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::loadSetupFile/11.1|loadSetupFile]]
+
|[[API17:JParameter::loadSetupFile|loadSetupFile]]
 
|Loads an xml setup file and parses it.  
 
|Loads an xml setup file and parses it.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::render/11.1|render]]
+
|[[API17:JParameter::render|render]]
 
|Render the form control.  
 
|Render the form control.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::renderToArray/11.1|renderToArray]]
+
|[[API17:JParameter::renderToArray|renderToArray]]
 
|Render all parameters to an array.  
 
|Render all parameters to an array.  
 
|-
 
|-
 
|public  
 
|public  
|[[JParameter::setXML/11.1|setXML]]
+
|[[API17:JParameter::setXML|setXML]]
 
|Sets the XML object from custom xml files.  
 
|Sets the XML object from custom xml files.  
 
|-
 
|-
 
|}
 
|}
 
* '''Defined in''' libraries/joomla/html/parameter.php
 
* '''Defined in''' libraries/joomla/html/parameter.php
* '''Extends''' [[JRegistry/11.1|JRegistry]]
+
* '''Extends''' [[API17:JRegistry|JRegistry]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.parameter' );</source>
 
<source lang="php">jimport( 'joomla.html.parameter' );</source>
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JParameter source code''' on [[jplatform:html/parameter.php|BitBucket]]
 
* {{JVer|11.1}} '''JParameter source code''' on [[jplatform:html/parameter.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]]
* [[JParameter|Other versions of JParameter]]
+
* [[API17:JParameter|Other versions of JParameter]]
 
{{SeeAlso:JParameter}}
 
{{SeeAlso:JParameter}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 89: Line 89:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JParameter]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:18, 11 May 2013

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 JParameter

Description

Description:JParameter [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public addElementPath Add a directory where should search for element types.
public bind Bind data to the parameter.
public def Sets a default value if not alreay assigned.
public getGroups Get the number of params in each group.
public getNumParams Return the number of parameters in a group.
public getParam Render a parameter type.
public getParams Render all parameters.
public loadElement Loads an element type.
public loadSetupFile Loads an xml setup file and parses it.
public render Render the form control.
public renderToArray Render all parameters to an array.
public setXML Sets the XML object from custom xml files.
  • Defined in libraries/joomla/html/parameter.php
  • Extends JRegistry

Importing

jimport( 'joomla.html.parameter' );

See also

  • Joomla 11.1 JParameter source code on BitBucket
  • Joomla 11.1 Subpackage Html
  • Other versions of JParameter

SeeAlso:JParameter [Edit See Also]

User contributed notes

<CodeExamplesForm />