API15

JParameter: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JParameter}}
===Defined in===
===Defined in===
libraries/joomla/html/parameter.php
libraries/joomla/html/parameter.php
Line 59: Line 57:




{{subst:SeeAlso:JParameter}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JParameter
  category=JParameter
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:01, 25 March 2017

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' );



Examples

Code Examples