Joomla! Programmierung/Framework/JDocumentHTML/countModules
Aus Joomla! Dokumentation
Returns the number of modules enabled in one or more module positions.
Inhaltsverzeichnis |
[Bearbeiten] Syntax
int countModules( $condition )
where:
| Argument | Data type | Description | Default |
|---|---|---|---|
| $condition | string | Can be a module position name, or a simple expression involving multiple module position names. |
[Bearbeiten] Counting modules in a given module position
Counting modules in a given module position
[Bearbeiten] Counting modules in multiple module positions
Counting modules in multiple module positions
[Bearbeiten] Operators for use with the countModules function
Operators for use with the countModules function