Documentation

Check

bool
CAdminTabEngine::Check(
)

The Check method calls the custom tab handlers to validate the form data. If an error occurs in one of the handlers, the other handlers are called anyway.

Example

if (!$customTabber->Check())
{
  if ($ex = $APPLICATION->GetException())
    $errorMessage .= $ex->GetString();
  else
    $errorMessage .= "Error. ";
}
© «Bitrix24», 2001-2024
Up