Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
blacklist.php
1
<?php
9
namespace
Bitrix\Sender\Integration\Sender\Connectors
;
10
11
use
Bitrix\Sender\Connector\Base
as ConnectorBase;
12
use
Bitrix\Sender\MailingSubscriptionTable
;
13
14
class
BlackList
extends
ConnectorBase
15
{
19
public
function
getName
()
20
{
21
return
'Email-marketing - Black list'
;
22
}
23
27
public
function
getCode
()
28
{
29
return
"sender_black_list"
;
30
}
31
35
public
function
getData
()
36
{
37
$mailingId = $this->
getFieldValue
(
'MAILING_ID'
, 0);
38
39
return
MailingSubscriptionTable::getSubscriptionList
(array(
40
'select'
=> array(
41
'SENDER_CONTACT_ID'
=>
'CONTACT.ID'
,
42
'NAME'
=>
'CONTACT.NAME'
,
43
'EMAIL'
=>
'CONTACT.CODE'
,
44
'USER_ID'
=>
'CONTACT.USER_ID'
45
),
46
'filter'
=> array(
47
'MAILING_ID'
=> $mailingId,
48
)
49
));
50
}
51
55
public
function
getForm
()
56
{
57
return
''
;
58
}
59
}
Bitrix\Sender\Connector\Base
Definition
base.php:13
Bitrix\Sender\Connector\Base\getFieldValue
getFieldValue($name, $defaultValue=null)
Definition
base.php:195
Bitrix\Sender\Integration\Sender\Connectors\BlackList
Definition
blacklist.php:15
Bitrix\Sender\Integration\Sender\Connectors\BlackList\getName
getName()
Definition
blacklist.php:19
Bitrix\Sender\Integration\Sender\Connectors\BlackList\getForm
getForm()
Definition
blacklist.php:55
Bitrix\Sender\Integration\Sender\Connectors\BlackList\getData
getData()
Definition
blacklist.php:35
Bitrix\Sender\Integration\Sender\Connectors\BlackList\getCode
getCode()
Definition
blacklist.php:27
Bitrix\Sender\MailingSubscriptionTable
Definition
mailing.php:779
Bitrix\Sender\MailingSubscriptionTable\getSubscriptionList
static getSubscriptionList(array $parameters=array())
Definition
mailing.php:826
Bitrix\Sender\Integration\Sender\Connectors
Definition
blacklist.php:9
modules
sender
lib
integration
sender
connectors
blacklist.php
Создано системой
1.10.0