Bitrix API

Google extends BaseApiObject

Class MediaVkontakte

Table of Contents

Constants

TYPE_CODE  = \Bitrix\Seo\Webmaster\Service::TYPE_GOOGLE

Methods

__construct()  : mixed
addSite()  : Response
Add site to webmaster
create()  : static
getRequest()  : Request
getSites()  : Response
Get list of added sites with statuses
getVerifyToken()  : Response
Get token-string for naming verify file
normalizeListRow()  : mixed
setRequest()  : mixed
setService()  : mixed
verifySite()  : Response
Pass site to verify

Constants

TYPE_CODE

public mixed TYPE_CODE = \Bitrix\Seo\Webmaster\Service::TYPE_GOOGLE

Methods

addSite()

Add site to webmaster

public addSite(string $site) : Response
Parameters
$site : string
  • url of site with protocol
Tags
throws
SystemException
Return values
Response

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

getSites()

Get list of added sites with statuses

public getSites() : Response
Tags
throws
SystemException
Return values
Response

getVerifyToken()

Get token-string for naming verify file

public getVerifyToken(array<string|int, mixed> $data) : Response
Parameters
$data : array<string|int, mixed>
  • site object
Tags
throws
ArgumentException
throws
SystemException
Return values
Response

normalizeListRow()

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

verifySite()

Pass site to verify

public verifySite(array<string|int, mixed> $data) : Response
Parameters
$data : array<string|int, mixed>
  • site object
Tags
throws
ArgumentException
throws
SystemException
Return values
Response

        
On this page

Search results