Documentation

sendVotingMessage

boolean public
\Bitrix\Vote\Vote::sendVotingMessage(
 array $event,
 array $vote,
 string $type = "im"
);

Method sends notifications to users. Non-static method.

Parameters

ParameterDescriptionVersion
$eventArray type: Array("ID" => poll_ID, "VOTE_USER_ID" => user_ID);.
$voteArray type: Array("ID" => poll_ID, "QUESTIONS" => array("ID" => question_ID, "ANSWERS" => array()));.
$typeNotification type: im or mail.

Example



© «Bitrix24», 2001-2024
Up