API16

JParameter

From Joomla! Documentation

The "API16" 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.

Defined in[edit]

libraries/joomla/html/parameter.php

Methods[edit]

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[edit]

jimport( 'joomla.html.parameter' );



Examples[edit]

Code Examples[edit]