Documentation

Begin

void
CAdminTabControl::Begin(
)

The Begin method displays the tab bar and starts an initial property page.

Example

<?
$aTabs = array(
  array("DIV" => "edit1", 
        "TAB" => GetMessage("rub_tab_rubric"),
        "ICON"=>"main_user_edit",
        "TITLE"=>GetMessage("rub_tab_rubric_title")), array("DIV" => "edit2",
        "TAB" => GetMessage("rub_tab_generation"),
        "ICON"=>"main_user_edit",
        "TITLE"=>GetMessage("rub_tab_generation_title")), ); $tabControl = new CAdminTabControl("tabControl", $aTabs); ?> <? // display tab titles
$tabControl->Begin(); ?>
© «Bitrix24», 2001-2024
Up