Documentation

beforeInsertTrigger

null|array public
\Bitrix\Forum\Replica\MessageHandler::beforeInsertTrigger(
 array 
);

Called before entering new database entry.

When returns an array with data, cancels entries and adds a map for returned entry. Non-static method.

Parameters

ParameterDescriptionVersion
&$newRecord All fields for inserted entry.

Example



© «Bitrix24», 2001-2024