Documentation

GetMenuHtml

string
CMenu::GetMenuHtml()

The method returns the HTML code that can be used to display a menu. Non-static method.

Parameters

No parameters.

See Also

Examples of use

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


© «Bitrix24», 2001-2024