• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/persontype.php
  • Класс: BitrixSaleControllerPersonType
  • Вызов: PersonType::get
protected function get($id)
{
	$r = BitrixSalePersonType::getList(['filter'=>['ID'=>$id]])->fetchAll();
	return $r? $r[0]:[];
}