• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/adv/yandexstat.php
  • Класс: BitrixSeoAdvYandexStatTable
  • Вызов: YandexStatTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'CAMPAIGN_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'BANNER_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'DATE_DAY' => array(
			'data_type' => 'date',
			'required' => true,
		),
		'CURRENCY' => array(
			'data_type' => 'string',
		),
		'SUM' => array(
			'data_type' => 'float',
		),
		'SUM_SEARCH' => array(
			'data_type' => 'float',
		),
		'SUM_CONTEXT' => array(
			'data_type' => 'float',
		),
		'CLICKS' => array(
			'data_type' => 'integer',
		),
		'CLICKS_SEARCH' => array(
			'data_type' => 'integer',
		),
		'CLICKS_CONTEXT' => array(
			'data_type' => 'integer',
		),
		'SHOWS' => array(
			'data_type' => 'integer',
		),
		'SHOWS_SEARCH' => array(
			'data_type' => 'integer',
		),
		'SHOWS_CONTEXT' => array(
			'data_type' => 'integer',
		),
		'CAMPAIGN' => array(
			'data_type' => 'BitrixSeoAdvYandexCampaignTable',
			'reference' => array('=this.CAMPAIGN_ID' => 'ref.ID'),
		),
		'BANNER' => array(
			'data_type' => 'BitrixSeoAdvYandexBannerTable',
			'reference' => array('=this.BANNER_ID' => 'ref.ID'),
		),
	);
}