Documentation

SetErrorState

void
CAdminTabEngine::SetErrorState([
  bool $bVarsFromForm = false
])

The method SetErrorState is used to set the state of the "Data obtained from a form on error" flag. The value is passed to the custom 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