sendVotingMessage
boolean public \Bitrix\Vote\Vote::sendVotingMessage( array $event, array $vote, string $type = "im" );
Method sends notifications to users. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$event | Array type: Array("ID" => poll_ID, "VOTE_USER_ID" => user_ID);. | |
$vote | Array type: Array("ID" => poll_ID, "QUESTIONS" => array("ID" => question_ID, "ANSWERS" => array()));. | |
$type | Notification type: im or mail. |
Example
© «Bitrix24», 2001-2024