API15:JParameter/getGroups
From Joomla! Documentation
Description
Get the number of params in each group
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
getGroups()
Returns
array Array of all group names as key and param count as value
Defined in
libraries/joomla/html/parameter.php
Importing
jimport( 'joomla.html.parameter' );
Source Body
function getGroups()
{
if (!is_array($this->_xml)) {
return false;
}
$results = array();
foreach ($this->_xml as $name => $group) {
$results[$name] = $this->getNumParams($name);
}
return $results;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples