1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
extension.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite;
4
5
use Bitrix\Seo\Retargeting;
6
use Bitrix\Seo\BusinessSuite\Configuration\Facebook;
7
8
abstract
class
Extension
extends
AbstractBase
9
{
15
public
function
getInstalls
(): ?
Retargeting
\
Response
16
{
17
if
($setup =
Facebook
\
Setup::load
())
18
{
19
return
$installs = $this->
getRequest
()->send([
'methodName'
=> $this->
getMethodName
(
'installs.get'
),
20
'parameters'
=> [
21
'fbe_external_business_id'
=> $setup->get(
Facebook
\
Setup::BUSINESS_ID
)
22
]
23
]);
24
}
25
return
null
;
26
}
27
33
public
function
uninstall
() : ?
Retargeting
\
Response
34
{
35
if
($setup =
Facebook
\
Setup::load
())
36
{
37
return
$this->
getRequest
()->send([
38
'methodName'
=> $this->
getMethodName
(
'installs.delete'
),
39
'parameters'
=> [
40
'fbe_external_business_id'
=> $setup->get(
Facebook
\
Setup::BUSINESS_ID
)
41
]
42
]);
43
}
44
return
null
;
45
}
46
}
Bitrix\Main\Response
Определения
response.php:5
Bitrix\Seo\BusinessSuite\AbstractBase
Определения
abstractbase.php:9
Bitrix\Seo\BusinessSuite\AbstractBase\getMethodName
getMethodName(string $name)
Определения
abstractbase.php:20
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Setup\load
static load()
Определения
setup.php:156
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Setup\BUSINESS_ID
const BUSINESS_ID
Определения
setup.php:14
Bitrix\Seo\BusinessSuite\Extension
Определения
extension.php:9
Bitrix\Seo\BusinessSuite\Extension\getInstalls
getInstalls()
Определения
extension.php:15
Bitrix\Seo\BusinessSuite\Extension\uninstall
uninstall()
Определения
extension.php:33
Bitrix\Seo\Retargeting\BaseApiObject\getRequest
getRequest()
Определения
baseapiobject.php:44
Bitrix\Seo\BusinessSuite\Configuration\Facebook
Определения
config.php:2
Bitrix\Seo\Retargeting
Определения
account.php:3
bitrix
modules
seo
lib
businesssuite
extension.php
Создано системой
1.14.0