Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
mailfilter.php
1
<?php
2
3
namespace
Bitrix\Mail
;
4
5
use
Bitrix\Main\Entity
;
6
use
Bitrix\Main\Localization
;
7
8
Localization\Loc::loadMessages(__FILE__);
9
26
class
MailFilterTable
extends
Entity\DataManager
27
{
28
29
public
static
function
getFilePath
()
30
{
31
return
__FILE__;
32
}
33
34
public
static
function
getTableName
()
35
{
36
return
'b_mail_filter'
;
37
}
38
39
public
static
function
getMap
()
40
{
41
return
array(
42
'ID'
=> array(
43
'data_type'
=>
'integer'
,
44
'primary'
=>
true
,
45
'autocomplete'
=>
true
,
46
),
47
'TIMESTAMP_X'
=> array(
48
'data_type'
=>
'datetime'
,
49
),
50
'MAILBOX_ID'
=> array(
51
'data_type'
=>
'integer'
,
52
'required'
=>
true
,
53
),
54
'PARENT_FILTER_ID'
=> array(
55
'data_type'
=>
'integer'
,
56
),
57
'NAME'
=> array(
58
'data_type'
=>
'string'
,
59
),
60
'DESCRIPTION'
=> array(
61
'data_type'
=>
'text'
,
62
),
63
'SORT'
=> array(
64
'data_type'
=>
'integer'
,
65
),
66
'ACTIVE'
=> array(
67
'data_type'
=>
'boolean'
,
68
'values'
=> array(
'N'
,
'Y'
),
69
),
70
'PHP_CONDITION'
=> array(
71
'data_type'
=>
'text'
,
72
),
73
'WHEN_MAIL_RECEIVED'
=> array(
74
'data_type'
=>
'boolean'
,
75
'values'
=> array(
'N'
,
'Y'
),
76
),
77
'WHEN_MANUALLY_RUN'
=> array(
78
'data_type'
=>
'boolean'
,
79
'values'
=> array(
'N'
,
'Y'
),
80
),
81
'SPAM_RATING'
=> array(
82
'data_type'
=>
'float'
,
83
),
84
'SPAM_RATING_TYPE'
=> array(
85
'data_type'
=>
'enum'
,
86
'values'
=> array(
'<'
,
'>'
),
87
),
88
'MESSAGE_SIZE'
=> array(
89
'data_type'
=>
'integer'
,
90
),
91
'MESSAGE_SIZE_TYPE'
=> array(
92
'data_type'
=>
'enum'
,
93
'values'
=> array(
'<'
,
'>'
),
94
),
95
'MESSAGE_SIZE_UNIT'
=> array(
96
'data_type'
=>
'enum'
,
97
'values'
=> array(
'b'
,
'k'
,
'm'
),
98
),
99
'ACTION_STOP_EXEC'
=> array(
100
'data_type'
=>
'boolean'
,
101
'values'
=> array(
'N'
,
'Y'
),
102
),
103
'ACTION_DELETE_MESSAGE'
=> array(
104
'data_type'
=>
'boolean'
,
105
'values'
=> array(
'N'
,
'Y'
),
106
),
107
'ACTION_READ'
=> array(
108
'data_type'
=>
'enum'
,
109
'values'
=> array(
'N'
,
'Y'
,
'-'
),
110
),
111
'ACTION_PHP'
=> array(
112
'data_type'
=>
'text'
,
113
),
114
'ACTION_TYPE'
=> array(
115
'data_type'
=>
'string'
,
116
),
117
'ACTION_VARS'
=> array(
118
'data_type'
=>
'text'
,
119
),
120
'ACTION_SPAM'
=> array(
121
'data_type'
=>
'enum'
,
122
'values'
=> array(
'N'
,
'Y'
,
'-'
),
123
),
124
);
125
}
126
127
}
Bitrix\Mail\MailFilterTable
Definition
mailfilter.php:27
Bitrix\Mail\MailFilterTable\getMap
static getMap()
Definition
mailfilter.php:39
Bitrix\Mail\MailFilterTable\getFilePath
static getFilePath()
Definition
mailfilter.php:29
Bitrix\Mail\MailFilterTable\getTableName
static getTableName()
Definition
mailfilter.php:34
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Mail
Definition
blacklist.php:3
Bitrix\Main\Localization
Definition
culture.php:8
modules
mail
lib
mailfilter.php
Создано системой
1.10.0