Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
subscriber.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
Subscriber
extends
ConnectorBase
15
{
19
public
function
getName
()
20
{
21
return
'Email-marketing - Subscriber'
;
22
}
23
27
public
function
getCode
()
28
{
29
return
"sender_subscriber"
;
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\Subscriber
Definition
subscriber.php:15
Bitrix\Sender\Integration\Sender\Connectors\Subscriber\getName
getName()
Definition
subscriber.php:19
Bitrix\Sender\Integration\Sender\Connectors\Subscriber\getForm
getForm()
Definition
subscriber.php:55
Bitrix\Sender\Integration\Sender\Connectors\Subscriber\getData
getData()
Definition
subscriber.php:35
Bitrix\Sender\Integration\Sender\Connectors\Subscriber\getCode
getCode()
Definition
subscriber.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
subscriber.php
Создано системой
1.10.0