Documentation

CAdminTabEngine

object
CAdminTabEngine(
   string $EVENT_NAME[, 
   array $aArgs = array()]
)

The class constructor allows to create custom tabs in multi-page forms.

Parameters

Parameter Description
EVENT_NAME The name of an event for which custom tabs have been configured.
aArgs An array of additional arguments passed to the tab handlers.

Example

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