1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
accountfacebook.php
См. документацию.
1
<?
2
3
namespace
Bitrix\Seo\Marketing\Services
;
4
5
use
Bitrix\Seo\Marketing\Account
;
6
7
class
AccountFacebook
extends
Account
8
{
9
const
TYPE_CODE
=
'facebook'
;
10
11
protected
static
$listRowMap
=
array
(
12
'ID'
=>
'ACCOUNT_ID'
,
13
'NAME'
=>
'NAME'
,
14
);
15
16
public
function
getList
()
17
{
18
return
$this->
getRequest
()->send(
array
(
19
'methodName'
=>
'marketing.account.list'
,
20
'parameters'
=>
array
()
21
));
22
}
23
24
public
function
getProfile
()
25
{
26
$response
= $this->
getRequest
()->send(
array
(
27
'methodName'
=>
'marketing.profile'
,
28
'parameters'
=>
array
()
29
));
30
31
if
(
$response
->isSuccess())
32
{
33
$data
=
$response
->fetch();
34
return
array
(
35
'ID'
=>
$data
[
'ID'
],
36
'NAME'
=>
$data
[
'NAME'
],
37
'LINK'
=>
$data
[
'LINK'
],
38
'CURRENCY'
=>
$data
[
'CURRENCY'
],
39
'PICTURE'
=>
$data
[
'PICTURE'
] ?
$data
[
'PICTURE'
][
'data'
][
'url'
] :
null
,
40
);
41
}
42
43
return
null
;
44
}
45
46
public
function
getInstagramList
()
47
{
48
return
$this->
getRequest
()->send(
array
(
49
'methodName'
=>
'marketing.account.instagram.list'
,
50
'parameters'
=>
array
()
51
));
52
}
53
}
Bitrix\Seo\Marketing\Account
Определения
account.php:13
Bitrix\Seo\Marketing\Services\AccountFacebook
Определения
accountfacebook.php:8
Bitrix\Seo\Marketing\Services\AccountFacebook\$listRowMap
static $listRowMap
Определения
accountfacebook.php:11
Bitrix\Seo\Marketing\Services\AccountFacebook\TYPE_CODE
const TYPE_CODE
Определения
accountfacebook.php:9
Bitrix\Seo\Marketing\Services\AccountFacebook\getList
getList()
Определения
accountfacebook.php:16
Bitrix\Seo\Marketing\Services\AccountFacebook\getInstagramList
getInstagramList()
Определения
accountfacebook.php:46
Bitrix\Seo\Marketing\Services\AccountFacebook\getProfile
getProfile()
Определения
accountfacebook.php:24
Bitrix\Seo\Retargeting\BaseApiObject\getRequest
getRequest()
Определения
baseapiobject.php:44
$data
$data['IS_AVAILABLE']
Определения
.description.php:13
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\Marketing\Services
Определения
accountfacebook.php:3
$response
$response
Определения
result.php:21
bitrix
modules
seo
lib
marketing
services
accountfacebook.php
Создано системой
1.14.0