Show
void CAdminContextMenu::Show( )
The method Show displays the created menu.
Example
// Build a menu containing only item: add maillist
$aContext = array( array( "TEXT"=>GetMessage("POST_ADD"), "LINK"=>"rubric_edit.php?lang=".LANG, "TITLE"=>GetMessage("POST_ADD_TITLE"), "ICON"=>"btn_new", ), ); // and attach it to the list $oMenu = new CAdminContextMenu($aContext); $oMenu->Show();
© «Bitrix24», 2001-2024