API17:JParameter::getNumParams
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JParameter::getNumParams|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JParameter::getNumParams|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function getNumParams ($group= '_default') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 24: | Line 21: | ||
|string | |string | ||
|'_default' | |'_default' | ||
| − | |An optional group. The default group is used if not supplied. | + | |An optional group. The default group is used if not supplied. |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed False if no params exist or integer number of parameters that exist. | |
| − | mixed False if no params exist or integer number of parameters that exist. | + | * '''Defined''' on line 215 of libraries/joomla/html/parameter.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/html/parameter.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JParameter::getNumParams source code''' on [[jplatform:html/parameter.php#cl-207|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JParameter/11.1|JParameter]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
| + | * [[JParameter::getNumParams|Other versions of JParameter::getNumParams]] | ||
| + | {{SeeAlso:JParameter::getNumParams}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JParameter::getNumParams|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JParameter::getNumParams|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JParameter]][[Category:JParameter::getNumParams]]</noinclude> | <noinclude>[[Category:JParameter]][[Category:JParameter::getNumParams]]</noinclude> | ||
Revision as of 21:28, 27 April 2011
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.
JParameter::getNumParams
Description
Return the number of parameters in a group.
Description:JParameter::getNumParams [Edit Descripton]
public function getNumParams ($group= '_default')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $group | string | '_default' | An optional group. The default group is used if not supplied. |
- Returns mixed False if no params exist or integer number of parameters that exist.
- Defined on line 215 of libraries/joomla/html/parameter.php
- Since
See also
-
JParameter::getNumParams source code on BitBucket
-
Class JParameter
-
Subpackage Html
- Other versions of JParameter::getNumParams
SeeAlso:JParameter::getNumParams [Edit See Also]
User contributed notes
<CodeExamplesForm />
