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