cms\includes\Util\Modules\Contenido_NavMain_Util.class.php
\Contenido_NavMain_Util
Package: Default
Parameters
Project:
Contenido Content Management System
Description: Recursive loop over given category for building a frontend navigation
Requirements:
- Author
- Rudi Bieller
- Con_php_req
- 5.0
- Copyright
- four for business AG
{@internal created 2009-01-15 $Id: Contenido_NavMain_Util.class.php 969 2009-01-19 12:32:13Z rudi.bieller $ }} - Version
- 1.0.0
Methods


loopCats(\Contenido_Category $oCategory, \Contenido_FrontendNavigation $oFrontendNavigation, \Template $oTpl, array $aCfg, int $iLang, array $aLevelInfo, $iCurrentPageIdcat, array $aDepthInfo = array()) : void
static
Recursive Loop over all (sub)categories.
Each level will be assigned a css class navmainStandardLevel_x
Name | Type | Description |
---|---|---|
$oCategory | \Contenido_Category | |
$oFrontendNavigation | \Contenido_FrontendNavigation | |
$oTpl | \Template | |
$aCfg | array | |
$iLang | int | |
$aLevelInfo | array | Information for marking active cat per levels |
$iCurrentPageIdcat | ||
$aDepthInfo | array | Info on level depth / where to stop. Format: array(iCurrentLoopCount, iMaxLoopCount) |