Documentation

moderate

array|boolean public
\Bitrix\Forum\Comments\Feed::moderate(
 integer $id,
 boolean $show
);

Moderates a comment. Returns the moderated comment or false otherwise.

Parameters

ParameterDescriptionVersion
$idMessage ID.
$showModeration parameter: true - show, false - hide.

Example



© «Bitrix24», 2001-2024