API17

JParameter

From Joomla! Documentation

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.

Joomla 11.1 JParameter[edit]

Description[edit]

Methods[edit]

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

jimport( 'joomla.html.parameter' );

See also[edit]


User contributed notes[edit]

Code Examples[edit]