Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
yandexgroup.php
1<?php
8namespace Bitrix\Seo\Adv;
9
12
13Loc::loadMessages(__FILE__);
14
47{
48 const ENGINE = 'yandex_direct';
49
50 public static function getFilePath()
51 {
52 return __FILE__;
53 }
54
55 public static function getTableName()
56 {
57 return 'b_seo_adv_group';
58 }
59
60 public static function getMap()
61 {
62 return array_merge(
63 parent::getMap(),
64 array(
65 'CAMPAIGN_ID' => array(
66 'data_type' => 'integer',
67 'title' => Loc::getMessage('ADV_CAMPAIGN_ENTITY_CAMPAIGN_ID_FIELD'),
68 ),
69 'CAMPAIGN' => array(
70 'data_type' => 'Bitrix\Seo\Adv\YandexCampaignTable',
71 'reference' => array('=this.CAMPAIGN_ID' => 'ref.ID'),
72 ),
73 )
74 );
75 }
76}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29