Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
mediavkontakte.php
1
<?php
2
3
namespace
Bitrix\Seo\Media\Services
;
4
5
use
Bitrix\Seo\Retargeting
;
6
use
Bitrix\Seo\Retargeting\Response
;
7
use
Bitrix\Seo\Media
;
8
9
13
class
MediaVkontakte
extends
Retargeting\BaseApiObject
14
{
15
public
const
TYPE_CODE
= Media\Service::TYPE_VKONTAKTE;
16
17
protected
static
$listRowMap
= [
18
'ID'
=>
'ID'
,
19
'NAME'
=>
'NAME'
,
20
'LOCALE'
=>
'LOCALE'
,
21
];
22
23
public
function
getVideo
($videoId):
Response
24
{
25
$res = $this->
getRequest
()->
send
([
26
'methodName'
=>
'media.video.get'
,
27
'parameters'
=> [
28
'videos'
=> $videoId,
29
]
30
]);
31
32
return
$res;
33
}
34
}
Bitrix\Main\Response
Definition
response.php:5
Bitrix\Main\Response\send
send()
Definition
response.php:89
Bitrix\Seo\Media\Services\MediaVkontakte
Definition
mediavkontakte.php:14
Bitrix\Seo\Media\Services\MediaVkontakte\$listRowMap
static $listRowMap
Definition
mediavkontakte.php:17
Bitrix\Seo\Media\Services\MediaVkontakte\TYPE_CODE
const TYPE_CODE
Definition
mediavkontakte.php:15
Bitrix\Seo\Media\Services\MediaVkontakte\getVideo
getVideo($videoId)
Definition
mediavkontakte.php:23
Bitrix\Seo\Retargeting\BaseApiObject
Definition
baseapiobject.php:6
Bitrix\Seo\Retargeting\BaseApiObject\getRequest
getRequest()
Definition
baseapiobject.php:44
Bitrix\Seo\Media\Services
Definition
mediavkontakte.php:3
Bitrix\Seo\Media
Definition
service.php:3
Bitrix\Seo\Retargeting
Definition
account.php:3
modules
seo
lib
media
services
mediavkontakte.php
Создано системой
1.10.0