Documentation

Attach constructor

 public
\Bitrix\Vote\Attachment\Attach::__construct(
 array $attach,
 null $vote = null
);

\Bitrix\Vote\Attachment\Attach class constructor. Non-static method.

Parameters

ParameterDescriptionVersion
$attachArray with attached object parameters (for example: Array("ID" => 1, "ENTITY_TYPE" => "blog", "ENTITY_ID" => 98, ...);.
$votePoll.

Exceptions

  • \Bitrix\Main\ArgumentNullException

Example



© «Bitrix24», 2001-2024