1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
service.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Seo\Checkout;
4
9
class
Service
implements
IService
10
{
11
public
const
GROUP
=
'checkout'
;
12
public
const
TYPE_YANDEX
=
'yandex'
;
13
public
const
TYPE_YOOKASSA
=
'yookassa'
;
14
public
const
TYPE_TBANK_BUSINESS
=
'tbankbusiness'
;
15
21
public
static
function
getInstance
(): static
22
{
23
static
$instance
=
null
;
24
if
(
$instance
===
null
)
25
{
26
$instance
=
new
static
();
27
}
28
29
return
$instance
;
30
}
31
36
public
static
function
getEngineCode
(
$type
): string
37
{
38
return
static::GROUP .
'.'
.
$type
;
39
}
40
44
public
static
function
getTypes
():
array
45
{
46
return
[
47
static::TYPE_YANDEX,
48
static::TYPE_YOOKASSA,
49
static::TYPE_TBANK_BUSINESS,
50
];
51
}
52
60
public
static
function
getAuthAdapter
(
$type
):
AuthAdapter
61
{
62
return
AuthAdapter::create
(
$type
)->
setService
(static::getInstance());
63
}
64
}
$type
$type
Определения
options.php:106
Bitrix\Seo\Checkout\AuthAdapter
Определения
authadapter.php:15
Bitrix\Seo\Checkout\AuthAdapter\create
static create($type, IService $service=null)
Определения
authadapter.php:40
Bitrix\Seo\Checkout\AuthAdapter\setService
setService(IService $service)
Определения
authadapter.php:59
Bitrix\Seo\Checkout\Service
Определения
service.php:10
Bitrix\Seo\Checkout\Service\TYPE_YANDEX
const TYPE_YANDEX
Определения
service.php:12
Bitrix\Seo\Checkout\Service\getTypes
static getTypes()
Определения
service.php:44
Bitrix\Seo\Checkout\Service\getEngineCode
static getEngineCode($type)
Определения
service.php:36
Bitrix\Seo\Checkout\Service\TYPE_YOOKASSA
const TYPE_YOOKASSA
Определения
service.php:13
Bitrix\Seo\Checkout\Service\getInstance
static getInstance()
Определения
service.php:21
Bitrix\Seo\Checkout\Service\GROUP
const GROUP
Определения
service.php:11
Bitrix\Seo\Checkout\Service\getAuthAdapter
static getAuthAdapter($type)
Определения
service.php:60
Bitrix\Seo\Checkout\Service\TYPE_TBANK_BUSINESS
const TYPE_TBANK_BUSINESS
Определения
service.php:14
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Seo\Checkout\IService
Определения
iservice.php:10
$instance
$instance
Определения
ps_b24_final.php:14
bitrix
modules
seo
lib
checkout
service.php
Создано системой
1.14.0