Documentation

onAfterMessageAdd

void public
\Bitrix\Forum\Replica\MessageHandler::onAfterMessageAdd(
 integer ,
 array $message,
 array $topicInfo,
 array $forumInfo,
 array $fields
);

Handler for the event onAfterMessageAdd.

Parameters

ParameterDescriptionVersion
&$id Forum post ID.
$messagePost contents.
$topicInfoForum topic fields.
$forumInfoForum fields.
$fieldsPost contents before update.

See Also

  • \CForumMessage::Add()

Example



© «Bitrix24», 2001-2024