Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
service.php
1<?php
2
4
7
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
static getVideo(string $videoId)
Definition service.php:38