Bitrix API

AccountVkontakte extends Account

Class AccountVkontakte

Table of Contents

Constants

PROFILE_INFO_CACHE_TTL  = 86400
RESOURCE_LEAD  = 'LEAD'
TYPE_CODE  = \Bitrix\Seo\LeadAds\Service::TYPE_VKONTAKTE
URL_ACCOUNT_LIST  = 'https://vk.com/groups?tab=admin'
URL_INFO  = 'https://vk.com/page-19542789_53868676'

Methods

__construct()  : mixed
Account constructor.
checkNewAuthInfo()  : bool
clearCache()  : void
Clear profile cache
create()  : static
getList()  : Response
Get list.
getProfile()  : array<string|int, mixed>|null
Get profile.
getProfileCached()  : Response|array<string|int, mixed>
Get profile cached.
getRegionsList()  : mixed
getRequest()  : Request
getRowById()  : array<string|int, mixed>|mixed|null
Get row by id.
getUrlAccountList()  : string
Get url account list.
getUrlInfo()  : string
Get url info.
hasPageAccount()  : mixed
loginCompletion()  : mixed
logout()  : mixed
normalizeListRow()  : mixed
setRequest()  : mixed
setService()  : mixed

Constants

PROFILE_INFO_CACHE_TTL

public mixed PROFILE_INFO_CACHE_TTL = 86400

TYPE_CODE

public mixed TYPE_CODE = \Bitrix\Seo\LeadAds\Service::TYPE_VKONTAKTE

URL_ACCOUNT_LIST

public mixed URL_ACCOUNT_LIST = 'https://vk.com/groups?tab=admin'

URL_INFO

public mixed URL_INFO = 'https://vk.com/page-19542789_53868676'

Methods

__construct()

Account constructor.

public __construct([null|string $accountId = null ]) : mixed
Parameters
$accountId : null|string = null

Account ID.

clearCache()

Clear profile cache

public clearCache() : void
Tags
throws
SystemException

create()

public static create(mixed $type[, null $parameters = null ][, IService|null $service = null ]) : static
Parameters
$type : mixed
$parameters : null = null
$service : IService|null = null
Return values
static

getProfile()

Get profile.

public getProfile() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getProfileCached()

Get profile cached.

public getProfileCached() : Response|array<string|int, mixed>
Return values
Response|array<string|int, mixed>

getRegionsList()

public getRegionsList() : mixed

getRowById()

Get row by id.

public getRowById(string $id) : array<string|int, mixed>|mixed|null
Parameters
$id : string

ID.

Return values
array<string|int, mixed>|mixed|null

getUrlAccountList()

Get url account list.

public static getUrlAccountList() : string
Return values
string

getUrlInfo()

Get url info.

public static getUrlInfo() : string
Return values
string

normalizeListRow()

public static normalizeListRow(array<string|int, mixed> $row) : mixed
Parameters
$row : array<string|int, mixed>

        
On this page

Search results