• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/persontype.php
  • Класс: BitrixSaleControllerPersonType
  • Вызов: PersonType::exists
protected function exists($id)
{
	$r = new Result();
	if($this->get($id)['ID']<=0)
		$r->addError(new Error('person type is not exists', 200740400001));

	return $r;
}