• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/timeline/entity/timelinebinding.php
  • Класс: Bitrix\Crm\Timeline\Entity\TimelineBindingTable
  • Вызов: TimelineBindingTable::isFixed
static function isFixed(int $id, int $ownerTypeId, int $ownerId): bool
{
	$binding = TimelineBindingTable::query()
		->where('OWNER_ID', $id)
		->where('ENTITY_TYPE_ID', $ownerTypeId)
		->where('ENTITY_ID', $ownerId)
		->setSelect(['IS_FIXED'])
		->exec()
		->fetch();

	return $binding['IS_FIXED'] === 'Y';
}