• Модуль: statistic
  • Путь к файлу: ~/bitrix/modules/statistic/classes/general/city.php
  • Класс: CCity
  • Вызов: CCity::ArrayForDB
function ArrayForDB()
{
	$ar = /*.(array[string]string).*/array();
	if($this->ip_addr <> '') $ar["IPA"] = $this->ip_addr;
	if($this->ip_number <> '') $ar["IPN"] = $this->ip_number;
	if($this->country_code <> '') $ar["COC"] = $this->country_code;
	if($this->country_short_name <> '') $ar["COS"] = $this->country_short_name;
	if($this->country_full_name <> '') $ar["COF"] = $this->country_full_name;
	if($this->region_name <> '') $ar["REN"] = $this->region_name;
	if($this->city_name <> '') $ar["CIN"] = $this->city_name;
	if($this->city_id <> '') $ar["CID"] = $this->city_id;
	return $ar;
}