API16:JParameter/getNumParams
From Joomla! Documentation
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.
Contents |
Description
Return number of params to render.
Description:JParameter/getNumParams
Syntax
getNumParams($group= '_default')
| Parameter Name | Default Value | Description |
|---|---|---|
| $group | '_default' |
Returns
mixed Boolean falst if no params exist or integer number of params that exist.
Defined in
libraries/joomla/html/parameter.php
Importing
jimport( 'joomla.html.parameter' );
Source Body
public function getNumParams($group = '_default') { if (!isset($this->_xml[$group]) || !count($this->_xml[$group]->children())) { return false; } else { return count($this->_xml[$group]->children()); } }
[Edit See Also] SeeAlso:JParameter/getNumParams
Examples
<CodeExamplesForm />
