Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
blacklist.php
1<?php
10
11use Bitrix\Sender\Connector\Base as ConnectorBase;
13
14class 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
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}
getFieldValue($name, $defaultValue=null)
Definition base.php:195
static getSubscriptionList(array $parameters=array())
Definition mailing.php:826