CMenu( string type = "left" )
Creates an instance of the CMenu class.
Parameter | Description |
---|---|
type | Menu type. Menu types are defined in the Site explorer module
settings. Optional. Left by default. |
<? $lm = new CMenu("left"); $lm->Init($APPLICATION->GetCurDir(), true); $lm->template = "/bitrix/templates/demo/left.menu_template.php"; echo $lm->GetMenuHtml(); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |