Bitrix Site Manager

CAdminTabControl::AddTabs

void
CAdminTabControl::AddTabs(
  CAdminTabEngine &$customTabber
)

The method AddTabs adds tabbed pages to a form taking a reference to a CAdminTabEngine class instance as a parameter. See also: creation of custom tabbed forms.

Example


$customTabber = new CAdminTabEngine("OnAdminIBlockElementEdit", array("ID" => $ID));

// ..........................

$tabControl = new CAdminTabControl("tabControl", $aTabs);
$customTabber->SetErrorState($bVarsFromForm);
$tabControl->AddTabs($customTabber);