Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
service.php
1
<?php
2
3
namespace
Bitrix\Seo\Media
;
4
5
use
Bitrix\Seo\LeadAds
;
6
use
Bitrix\Seo\Media\Services\MediaVkontakte
;
7
13
class
Service
extends
LeadAds\Service
14
{
15
public
const
GROUP
=
'media'
;
16
public
const
TYPE_VKONTAKTE
=
'vkontakte'
;
17
23
public
static
function
getTypes
(): array
24
{
25
return
[
26
static::TYPE_VKONTAKTE,
27
];
28
}
29
33
public
static
function
getMethodPrefix
(): string
34
{
35
return
'media'
;
36
}
37
38
public
static
function
getVideo
(
string
$videoId)
39
{
40
$service =
new
MediaVkontakte
();
41
$service->setService(static::getInstance());
42
43
return
$service->getVideo($videoId);
44
}
45
}
46
Bitrix\Seo\LeadAds\Service
Definition
service.php:15
Bitrix\Seo\Media\Service\TYPE_VKONTAKTE
const TYPE_VKONTAKTE
Definition
service.php:16
Bitrix\Seo\Media\Service\getTypes
static getTypes()
Definition
service.php:23
Bitrix\Seo\Media\Service\getMethodPrefix
static getMethodPrefix()
Definition
service.php:33
Bitrix\Seo\Media\Service\getVideo
static getVideo(string $videoId)
Definition
service.php:38
Bitrix\Seo\Media\Service\GROUP
const GROUP
Definition
service.php:15
Bitrix\Seo\Media\Services\MediaVkontakte
Definition
mediavkontakte.php:14
Bitrix\Seo\LeadAds
Definition
account.php:3
Bitrix\Seo\Media
Definition
service.php:3
modules
seo
lib
media
service.php
Создано системой
1.10.0