1С-Битрикс
2
Вклад в тег
use Bitrix\Main;
use Bitrix\Main\Entity;
$eventManager = Main\EventManager::getInstance();
$eventManager->addEventHandler("", "TransactionOnBeforeUpdate", "TransactionBeforeUpdate");
function TransactionBeforeUpdate(Entity\Event $event)
{
echo "<pre>";
$arParameters = $event->getParameters();
var_dump($arParameters);
return 1;
}