• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/entityproperty.php
  • Класс: BitrixSaleEntityProperty
  • Вызов: EntityProperty::getObjectById
static function getObjectById($propertyId)
{
	$dbRes = static::getList([
		'filter' => [
			'=ID' => $propertyId
		]
	]);

	$data = $dbRes->fetch();
	if ($data)
	{
		return new static($data);
	}

	return null;
}