belongsToEntity
boolean public \Bitrix\Vote\Uf\Manager::belongsToEntity( \Bitrix\Vote\Attachment\Attach $attachedObject, string $entityType, integer $entityId );
Method checks if object attached to poll belongs to an entity. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$attachedObject | Attached object. | |
$entityType | Entity type (for example, blog_post ). | |
$entityId | Entity ID. |
Example
© «Bitrix24», 2001-2024