Difference between revisions of "JParameter"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/html/parameter.php | libraries/joomla/html/parameter.php | ||
+ | * see source code in [[jplatform:html/parameter.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Html/11.1|Html]] | [[Subpackage Html/11.1|Html]] | ||
Line 60: | Line 61: | ||
<source lang="php">jimport( 'joomla.html.parameter' );</source> | <source lang="php">jimport( 'joomla.html.parameter' );</source> | ||
===See also=== | ===See also=== | ||
+ | * JParameter source code in [[jplatform:html/parameter.php|BitBucket]] | ||
* [[JParameter|Other versions of this class]] | * [[JParameter|Other versions of this class]] | ||
{{SeeAlso:JParameter}} | {{SeeAlso:JParameter}} |
Revision as of 18:00, 23 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.
[Edit Descripton] Template:Description:JParameter
Defined in[edit]
libraries/joomla/html/parameter.php
- see source code in BitBucket
Subpackage[edit]
Extends[edit]
Extended by[edit]
Methods[edit]
Method name | Description |
---|---|
__construct | Constructor. |
addElementPath | Add a directory where should search for element types. |
bind | Bind data to the parameter. |
def | Sets a default value if not alreay assigned. |
getGroups | Get the number of params in each group. |
getNumParams | Return the number of parameters in a group. |
getParam | Render a parameter type. |
getParams | Render all parameters. |
loadElement | Loads an element type. |
loadSetupFile | Loads an xml setup file and parses it. |
render | Render the form control. |
renderToArray | Render all parameters to an array. |
setXML | Sets the XML object from custom xml files. |
Importing[edit]
jimport( 'joomla.html.parameter' );
See also[edit]
- JParameter source code in BitBucket
- Other versions of this class
Template:SeeAlso:JParameter [Edit See Also]
Examples[edit]
<CodeExamplesForm />