1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
messagelookalikefb.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Sender\Integration\Seo\Ads;
10
11
use Bitrix\Main\Localization\Loc;
12
17
class
MessageLookalikeFb
extends
MessageLookalike
18
{
19
const
CODE
= self::CODE_ADS_LOOKALIKE_FB;
20
25
public
function
getName
()
26
{
27
return
Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_NAME_ADS_LOOKALIKE_FB'
);
28
}
29
30
protected
function
setConfigurationOptions
()
31
{
32
$this->configuration->setArrayOptions(
array
(
33
array
(
34
'type'
=>
'string'
,
35
'code'
=>
'CLIENT_ID'
,
36
'name'
=> Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_CLIENT_ID'
),
37
'required'
=>
true
,
38
),
39
array
(
40
'type'
=>
'string'
,
41
'code'
=>
'ACCOUNT_ID'
,
42
'name'
=> Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_ACCOUNT_ID'
),
43
'required'
=>
true
,
44
),
45
array
(
46
'type'
=>
'string'
,
47
'code'
=>
'AUDIENCE_ID'
,
48
'name'
=> Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_ID'
),
49
'required'
=>
false
,
50
),
51
array
(
52
'type'
=>
'string'
,
53
'code'
=>
'AUDIENCE_SIZE'
,
54
'name'
=> Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_SIZE'
),
55
'required'
=>
false
,
56
),
57
array
(
58
'type'
=>
'string'
,
59
'code'
=>
'AUDIENCE_REGION'
,
60
'name'
=> Loc::getMessage(
'SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_REGION'
),
61
'required'
=>
false
,
62
)
63
));
64
}
65
66
public
function
getLookalikeOptions
()
67
{
68
$config
=
$this->configuration
;
69
return
[
70
'AUDIENCE_SIZE'
=>
$config
->get(
'AUDIENCE_SIZE'
),
71
'AUDIENCE_REGION'
=>
$config
->get(
'AUDIENCE_REGION'
),
72
];
73
}
74
}
Bitrix\Sender\Integration\Seo\Ads\MessageBase\$configuration
$configuration
Определения
messagebase.php:37
Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb
Определения
messagelookalikefb.php:18
Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb\CODE
const CODE
Определения
messagelookalikefb.php:19
Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb\getLookalikeOptions
getLookalikeOptions()
Определения
messagelookalikefb.php:66
Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb\setConfigurationOptions
setConfigurationOptions()
Определения
messagelookalikefb.php:30
Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb\getName
getName()
Определения
messagelookalikefb.php:25
Bitrix\Sender\Integration\Seo\Ads\MessageLookalike
Определения
messagelookalike.php:25
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$config
$config
Определения
quickway.php:69
bitrix
modules
sender
lib
integration
seo
ads
messagelookalikefb.php
Создано системой
1.14.0