Bitrix Site Manager

CMenu::GetMenuHtml

string
CMenu::GetMenuHtml()

The method GetMenuHtml returns the HTML code that can be used to display a menu.

Parameters


No parameters.

See Also

Example



<?
$lm = new CMenu("left");
$lm->Init($APPLICATION->GetCurDir(), true);
$lm->template = "/bitrix/templates/demo/left.menu_template.php";
echo $lm->GetMenuHtml();
?>