cm( $positions )

Returns the number of modules in $positions. This is a shortcut for $this->countModules($position)

  • string $positions: The position(s) for which the number of modules are to be counted.

Example:

<?php if (cm('left')) modules('left'); ?>
Last modified on Wednesday, 31 March 2010 22:44

Add comment