Actions

API15

Difference between revisions of "JParameter"

From Joomla! Documentation

m (Methods)
 
Line 7: Line 7:
 
libraries/joomla/html/parameter.php
 
libraries/joomla/html/parameter.php
 
===Methods===
 
===Methods===
{| class="wikitable sortable"
+
{| class="writable sortable"
 
|-
 
|-
 
!Method name
 
!Method name
Line 22: Line 22:
 
|-
 
|-
 
|[[API15:JParameter/def|def]]
 
|[[API15:JParameter/def|def]]
|Sets a default value if not alreay assigned
+
|Sets a default value if not already assigned
 
|-
 
|-
 
|[[API15:JParameter/setXML|setXML]]
 
|[[API15:JParameter/setXML|setXML]]

Latest revision as of 21:33, 24 November 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 already 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 />