Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
timelinequeue.php
1
<?php
8
namespace
Bitrix\Sender
;
9
10
use
Bitrix\Main\Access\Entity\DataManager
;
11
use
Bitrix\Main\Localization\Loc
;
12
use
Bitrix\Main\Type
as
MainType
;
13
14
Loc::loadMessages
(__FILE__);
15
32
class
TimeLineQueueTable
extends
DataManager
33
{
34
const
STATUS_NEW
=
'N'
;
35
39
public
static
function
getTableName
()
40
{
41
return
'b_sender_timeline_queue'
;
42
}
43
47
public
static
function
getMap
()
48
{
49
return
[
50
'ID'
=> [
51
'data_type'
=>
'integer'
,
52
'primary'
=>
true
,
53
'autocomplete'
=>
true
,
54
],
55
'POSTING_ID'
=> [
56
'data_type'
=>
'integer'
,
57
'autocomplete'
=>
true
,
58
],
59
'ENTITY_ID'
=> [
60
'data_type'
=>
'integer'
,
61
'required'
=>
true
,
62
],
63
'RECIPIENT_ID'
=> [
64
'data_type'
=>
'integer'
,
65
'required'
=>
true
,
66
],
67
'CONTACT_TYPE_ID'
=> [
68
'data_type'
=>
'integer'
,
69
],
70
'CONTACT_CODE'
=> [
71
'data_type'
=>
'string'
,
72
'required'
=> true
73
],
74
'FIELDS'
=> [
75
'data_type'
=>
'string'
,
76
'required'
=>
true
,
77
],
78
'DATE_INSERT'
=> [
79
'data_type'
=>
'datetime'
,
80
'required'
=>
true
,
81
'default_value'
=>
new
MainType\DateTime
(),
82
],
83
'STATUS'
=> [
84
'data_type'
=>
'string'
,
85
'required'
=>
true
,
86
'default_value'
=> static::STATUS_NEW,
87
],
88
];
89
}
90
}
Bitrix\Main\Access\Entity\DataManager
Definition
datamanager.php:15
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Sender\TimeLineQueueTable
Definition
timelinequeue.php:33
Bitrix\Sender\TimeLineQueueTable\getMap
static getMap()
Definition
timelinequeue.php:47
Bitrix\Sender\TimeLineQueueTable\STATUS_NEW
const STATUS_NEW
Definition
timelinequeue.php:34
Bitrix\Sender\TimeLineQueueTable\getTableName
static getTableName()
Definition
timelinequeue.php:39
Bitrix\Main\Type
Definition
collection.php:2
Bitrix\Sender
modules
sender
lib
timelinequeue.php
Создано системой
1.10.0