API17

API17:JDocumentHTML::countModules

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples