Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
link.php
1
<?php
9
namespace
Bitrix\Seo\Adv
;
10
11
use
Bitrix\Main\Entity
;
12
39
class
LinkTable
extends
Entity\DataManager
40
{
41
const
TYPE_IBLOCK_ELEMENT
=
'I'
;
42
48
public
static
function
getTableName
()
49
{
50
return
'b_seo_adv_link'
;
51
}
52
58
public
static
function
getMap
()
59
{
60
return
array(
61
'LINK_TYPE'
=> array(
62
'data_type'
=>
'enum'
,
63
'primary'
=>
true
,
64
'values'
=> array(static::TYPE_IBLOCK_ELEMENT),
65
),
66
'LINK_ID'
=> array(
67
'data_type'
=>
'integer'
,
68
'primary'
=>
true
,
69
),
70
'BANNER_ID'
=> array(
71
'data_type'
=>
'integer'
,
72
'primary'
=>
true
,
73
),
74
'BANNER'
=> array(
75
'data_type'
=>
'Bitrix\Seo\Adv\YandexBannerTable'
,
76
'reference'
=> array(
'=this.BANNER_ID'
=>
'ref.ID'
),
77
),
78
'IBLOCK_ELEMENT'
=> array(
79
'data_type'
=>
'Bitrix\Iblock\ElementTable'
,
80
'reference'
=> array(
'=this.LINK_ID'
=>
'ref.ID'
),
81
),
82
);
83
}
84
}
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Seo\Adv\LinkTable
Definition
link.php:40
Bitrix\Seo\Adv\LinkTable\getMap
static getMap()
Definition
link.php:58
Bitrix\Seo\Adv\LinkTable\TYPE_IBLOCK_ELEMENT
const TYPE_IBLOCK_ELEMENT
Definition
link.php:41
Bitrix\Seo\Adv\LinkTable\getTableName
static getTableName()
Definition
link.php:48
Bitrix\Seo\Adv
Definition
auto.php:2
modules
seo
lib
adv
link.php
Создано системой
1.10.0