Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
recipient.php
1
<?php
8
namespace
Bitrix\Sender\Internals\Model\Posting
;
9
10
use
Bitrix\Main
;
11
use
Bitrix\Sender
;
12
use
Bitrix\Sender\Internals\Model
;
13
32
class
RecipientTable
extends
Main\Entity\DataManager
33
{
34
const
SEND_RESULT_NONE
=
'Y'
;
35
const
SEND_RESULT_SUCCESS
=
'N'
;
36
const
SEND_RESULT_ERROR
=
'E'
;
37
const
SEND_RESULT_WAIT
=
'W'
;
38
const
SEND_RESULT_DENY
=
'D'
;
39
const
SEND_RESULT_WAIT_ACCEPT
=
'A'
;
40
46
public
static
function
getTableName
()
47
{
48
return
'b_sender_posting_recipient'
;
49
}
50
56
public
static
function
getMap
()
57
{
58
return
array(
59
'ID'
=> array(
60
'data_type'
=>
'integer'
,
61
'primary'
=>
true
,
62
'autocomplete'
=>
true
,
63
),
64
'POSTING_ID'
=> array(
65
'data_type'
=>
'integer'
,
66
),
67
'STATUS'
=> array(
68
'data_type'
=>
'string'
,
69
'required'
=>
true
,
70
'default_value'
=> static::SEND_RESULT_NONE,
71
),
72
'DATE_SENT'
=> array(
73
'data_type'
=>
'datetime'
,
74
),
75
'DATE_DENY'
=> array(
76
'data_type'
=>
'datetime'
,
77
),
78
'CONTACT_ID'
=> array(
79
'required'
=>
true
,
80
'data_type'
=>
'integer'
,
81
),
82
'USER_ID'
=> array(
83
'data_type'
=>
'integer'
,
84
),
85
'FIELDS'
=> array(
86
'data_type'
=>
'text'
,
87
'serialized'
=>
true
,
88
),
89
'ROOT_ID'
=> array(
90
'data_type'
=>
'integer'
,
91
),
92
'IS_READ'
=> array(
93
'data_type'
=>
'string'
,
94
),
95
'IS_CLICK'
=> array(
96
'data_type'
=>
'string'
,
97
),
98
'IS_UNSUB'
=> array(
99
'data_type'
=>
'string'
,
100
),
101
'CONTACT'
=> array(
102
'data_type'
=>
Sender
\ContactTable::class,
103
'reference'
=> array(
'=this.CONTACT_ID'
=>
'ref.ID'
),
104
),
105
'POSTING'
=> array(
106
'data_type'
=> Model\PostingTable::class,
107
'reference'
=> array(
'=this.POSTING_ID'
=>
'ref.ID'
),
108
),
109
'POSTING_READ'
=> array(
110
'data_type'
=> ReadTable::class,
111
'reference'
=> array(
'=this.ID'
=>
'ref.RECIPIENT_ID'
),
112
),
113
'POSTING_CLICK'
=> array(
114
'data_type'
=> ClickTable::class,
115
'reference'
=> array(
'=this.ID'
=>
'ref.RECIPIENT_ID'
),
116
),
117
'POSTING_UNSUB'
=> array(
118
'data_type'
=> UnsubTable::class,
119
'reference'
=> array(
'=this.ID'
=>
'ref.RECIPIENT_ID'
),
120
),
121
);
122
}
123
}
Bitrix\Sender\Internals\Model\Posting\RecipientTable
Definition
recipient.php:33
Bitrix\Sender\Internals\Model\Posting\RecipientTable\getMap
static getMap()
Definition
recipient.php:56
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_DENY
const SEND_RESULT_DENY
Definition
recipient.php:38
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_WAIT_ACCEPT
const SEND_RESULT_WAIT_ACCEPT
Definition
recipient.php:39
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_SUCCESS
const SEND_RESULT_SUCCESS
Definition
recipient.php:35
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_NONE
const SEND_RESULT_NONE
Definition
recipient.php:34
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_WAIT
const SEND_RESULT_WAIT
Definition
recipient.php:37
Bitrix\Sender\Internals\Model\Posting\RecipientTable\getTableName
static getTableName()
Definition
recipient.php:46
Bitrix\Sender\Internals\Model\Posting\RecipientTable\SEND_RESULT_ERROR
const SEND_RESULT_ERROR
Definition
recipient.php:36
Bitrix\Sender\Posting\Sender
Definition
sender.php:44
Bitrix\Main
Bitrix\Sender\Internals\Model\Posting
Definition
click.php:8
Bitrix\Sender\Internals\Model
Definition
abuse.php:3
Bitrix\Sender
modules
sender
lib
internals
model
posting
recipient.php
Создано системой
1.10.0