beforeInsertTrigger
null|array public \Bitrix\Forum\Replica\TopicHandler::beforeInsertTrigger( array );
Method is called before entering new database entry.
When returns array with data, entry inserting will be cancelled and map is added for returned entry. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
&$newRecord | All fields for inserted entry. |
Example
© «Bitrix24», 2001-2024