JDocumentHTML::countModules: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Count the modules based on the given condition. | Count the modules based on the given condition. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function countModules ($condition) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 25: | Line 22: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' integer Number of modules found | |||
integer Number of modules found | * '''Defined''' on line 341 of libraries/joomla/document/html/html.php | ||
libraries/joomla/document/html/html.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDocumentHTML::countModules source code''' on [[jplatform:document/html/html.php#cl-333|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDocumentHTML|JDocumentHTML]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]] | |||
* | * [[API17:JDocumentHTML::countModules|Other versions of JDocumentHTML::countModules]] | ||
* [[JDocumentHTML::countModules|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDocumentHTML::countModules | category=JDocumentHTML::countModules | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:53, 25 March 2017
JDocumentHTML::countModules
Description
Count the modules based on the given condition.
public function countModules ($condition)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $condition | string | The condition to use |
- Returns integer Number of modules found
- Defined on line 341 of libraries/joomla/document/html/html.php
See also
JDocumentHTML::countModules source code on BitBucket
Class JDocumentHTML
Subpackage Document- Other versions of JDocumentHTML::countModules
User contributed notes
Code Examples