Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
testconsentbuildermail.php
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Sender\Mail
;
4
5
use
Bitrix\Sender\Consent\ConsentMessageBuilderFactory
;
6
use
Bitrix\Sender\Transport\iBase
;
7
8
class
TestConsentBuilderMail
extends
ConsentBuilderMail
9
{
10
const
CODE
= iBase::CODE_MAIL.ConsentMessageBuilderFactory::TEST_POSTFIX;
11
const
REQUIRED_FIELDS
= [
'CONTACT_CODE'
,
'SITE_ID'
];
12
13
protected
static
function
buildLink
(
$fields
, $siteId, $type): string
14
{
15
return
parent::buildLink(array_filter(
$fields
),$siteId, $type).
'&test=y'
;
16
}
17
}
Bitrix\Sender\Consent\AbstractConsentMessageBuilder\$fields
$fields
Definition
abstractconsentmessagebuilder.php:7
Bitrix\Sender\Consent\ConsentMessageBuilderFactory
Definition
consentmessagebuilderfactory.php:9
Bitrix\Sender\Integration\Sender\Mail\ConsentBuilderMail
Definition
consentbuildermail.php:16
Bitrix\Sender\Integration\Sender\Mail\TestConsentBuilderMail
Definition
testconsentbuildermail.php:9
Bitrix\Sender\Integration\Sender\Mail\TestConsentBuilderMail\CODE
const CODE
Definition
testconsentbuildermail.php:10
Bitrix\Sender\Integration\Sender\Mail\TestConsentBuilderMail\REQUIRED_FIELDS
const REQUIRED_FIELDS
Definition
testconsentbuildermail.php:11
Bitrix\Sender\Integration\Sender\Mail\TestConsentBuilderMail\buildLink
static buildLink($fields, $siteId, $type)
Definition
testconsentbuildermail.php:13
Bitrix\Sender\Message\iBase
Definition
ibase.php:16
Bitrix\Sender\Integration\Sender\Mail
Definition
consentbuildermail.php:3
modules
sender
lib
integration
sender
mail
testconsentbuildermail.php
Создано системой
1.10.0