Attach constructor
public \Bitrix\Vote\Attachment\Attach::__construct( array $attach, null $vote = null );
\Bitrix\Vote\Attachment\Attach
class constructor. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$attach | Array with attached object parameters (for example: Array("ID" => 1, "ENTITY_TYPE" => "blog", "ENTITY_ID" => 98, ...);. | |
$vote | Poll. |
Exceptions
- \Bitrix\Main\ArgumentNullException
Example
© «Bitrix24», 2001-2024