Actions

API15

Difference between revisions of "JParameter"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JParameter}} ===Defined in=== ...)
 
Line 57: Line 57:
 
|Add a directory where JParameter should search for element types
 
|Add a directory where JParameter should search for element types
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.parameter' );</source>
 
<source lang="php">jimport( 'joomla.html.parameter' );</source>

Revision as of 12:37, 25 March 2010

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.

[Edit Descripton] Description:JParameter

Contents

Defined in

libraries/joomla/html/parameter.php

Methods

Method name Description
__construct Constructor
set Set a value
get Get a value
def Sets a default value if not alreay assigned
setXML Sets the XML object from custom xml files
bind Bind data to the parameter
render Render
renderToArray Render all parameters to an array
getNumParams Return number of params to render
getGroups Get the number of params in each group
getParams Render all parameters
getParam Render a parameter type
loadSetupFile Loads an xml setup file and parses it
loadElement Loads a element type
addElementPath Add a directory where JParameter should search for element types

Importing

jimport( 'joomla.html.parameter' );

[Edit See Also] SeeAlso:JParameter

Examples

<CodeExamplesForm />