Documentation

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.

Example

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

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

$tabControl = new CAdminTabControl("tabControl", $aTabs);
$customTabber->SetErrorState($bVarsFromForm);
$tabControl->AddTabs($customTabber); 
© «Bitrix24», 2001-2024