Documentation

voteFor

boolean public
\Bitrix\Vote\Attachment\Attach::voteFor(
 array $request
);

Method executes voting for a current user. Non-static method.

Parameters

ParameterDescriptionVersion
$requestArray with poll parameters.

Exceptions

  • \Bitrix\Main\InvalidOperationException

Example



© «Bitrix24», 2001-2024