• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/userprops.php
  • Класс: BitrixSaleOrderUserProperties
  • Вызов: OrderUserProperties::checkCorrect
static function checkCorrect($profileId, $personTypeId, $userId)
{
	if (static::getList(array(
		'filter' => array(
			"ID" => $profileId,
			"PERSON_TYPE_ID" => $personTypeId,
			"USER_ID" => $userId
		)))->fetch())
	{
		return true;
	}
	else
	{
		return false;
	}
}