Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
contextattribute.php
1
<?php
2
3
namespace
Bitrix\Conversion\Internals
;
4
5
use
Bitrix\Main\Entity
;
6
23
class
ContextAttributeTable
extends
Entity\DataManager
24
{
25
public
static
function
getTableName
()
26
{
27
return
'b_conv_context_attribute'
;
28
}
29
30
public
static
function
getMap
()
31
{
32
return
array(
33
new
Entity
\
IntegerField
(
'CONTEXT_ID'
, array(
'primary'
=>
true
)),
34
new
Entity
\
StringField
(
'NAME'
, array(
'primary'
=>
true
,
'size'
=> 30)),
35
new
Entity
\
StringField
(
'VALUE'
, array(
'primary'
=>
true
,
'size'
=> 30)),
36
37
new
Entity
\ReferenceField(
'CONTEXT'
,
'ContextTable'
,
38
array(
'=this.CONTEXT_ID'
=>
'ref.ID'
),
39
array(
'join_type'
=>
'INNER'
)
40
),
41
);
42
}
43
44
public
static
function
getFilePath
()
45
{
46
return
__FILE__;
47
}
48
}
Bitrix\Conversion\Internals\ContextAttributeTable
Definition
contextattribute.php:24
Bitrix\Conversion\Internals\ContextAttributeTable\getMap
static getMap()
Definition
contextattribute.php:30
Bitrix\Conversion\Internals\ContextAttributeTable\getFilePath
static getFilePath()
Definition
contextattribute.php:44
Bitrix\Conversion\Internals\ContextAttributeTable\getTableName
static getTableName()
Definition
contextattribute.php:25
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Conversion\Internals
Definition
basecontext.php:3
modules
conversion
lib
internals
contextattribute.php
Создано системой
1.10.0