Documentation

Action

bool
CAdminTabEngine::Action(
)

The Action method calls the tab handlers to process the form data. The system always calls all of the handlers even if one of the them fails.

Example

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