Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
messagedeletequeue.php
1
<?php
2
3
namespace
Bitrix\Mail\Internals
;
4
5
use
Bitrix\Main
;
6
use
Bitrix\Main\ORM
;
7
use
Bitrix\Mail
;
8
25
class
MessageDeleteQueueTable
extends
ORM\Data\DataManager
26
{
27
28
public
static
function
getFilePath
()
29
{
30
return
__FILE__;
31
}
32
33
public
static
function
getTableName
()
34
{
35
return
'b_mail_message_delete_queue'
;
36
}
37
38
public
static
function
deleteList
(array $filter)
39
{
40
$entity
= static::getEntity();
41
$connection =
$entity
->getConnection();
42
43
return
$connection->query(sprintf(
44
'DELETE FROM %s WHERE %s'
,
45
$connection->getSqlHelper()->quote(
$entity
->getDbTableName()),
46
ORM\
Query
\Query::buildFilterSql(
$entity
, $filter)
47
));
48
}
49
50
public
static
function
getMap
()
51
{
52
return
array(
53
'ID'
=> array(
54
'data_type'
=>
'integer'
,
55
'primary'
=>
true
,
56
'autocomplete'
=>
true
,
57
),
58
'MAILBOX_ID'
=> array(
59
'data_type'
=>
'integer'
,
60
'required'
=>
true
,
61
),
62
'MESSAGE_ID'
=> array(
63
'data_type'
=>
'integer'
,
64
'required'
=>
true
,
65
),
66
);
67
}
68
69
}
Bitrix\Mail\Internals\MessageDeleteQueueTable
Definition
messagedeletequeue.php:26
Bitrix\Mail\Internals\MessageDeleteQueueTable\getMap
static getMap()
Definition
messagedeletequeue.php:50
Bitrix\Mail\Internals\MessageDeleteQueueTable\deleteList
static deleteList(array $filter)
Definition
messagedeletequeue.php:38
Bitrix\Mail\Internals\MessageDeleteQueueTable\getFilePath
static getFilePath()
Definition
messagedeletequeue.php:28
Bitrix\Mail\Internals\MessageDeleteQueueTable\getTableName
static getTableName()
Definition
messagedeletequeue.php:33
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Data\DataManager\$entity
static $entity
Definition
datamanager.php:45
Bitrix\Main\ORM\Query\Query
Definition
query.php:118
Bitrix\Mail\Internals
Definition
domainemail.php:3
Bitrix\Mail
Definition
blacklist.php:3
Bitrix\Main\ORM
Bitrix\Main
modules
mail
lib
internals
messagedeletequeue.php
Создано системой
1.10.0