• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/admin/locationhelper.php
  • Класс: BitrixSaleLocationAdminLocationHelper
  • Вызов: LocationHelper::getTypeList
static function getTypeList()
{
	static $types;

	if($types == null)
	{
		$types = array();
		$typesWithNames = LocationAdminTypeHelper::getTypes();
		foreach($typesWithNames as $type)
		{
			$types[intval($type['ID'])] = $type['NAME_CURRENT'];
		}
	}

	return $types;
}