Bitrix API

Service extends Service

Class Service

Table of Contents

Constants

GROUP  = 'media'
TYPE_FACEBOOK  = 'facebook'
TYPE_VKONTAKTE  = 'vkontakte'

Methods

canUseAsInternal()  : bool
check if service can use as internal
getAccount()  : Account
Get Account by type.
getAuthAdapter()  : AuthAdapter
Get auth adapter.
getAuthUrl()  : string
getEngineCode()  : string
Get engine code by type.
getForm()  : Form
Get Form by type.
getGroupAuth()  : AuthAdapter
Get group auth object.
getInstance()  : static
Get instance.
getMethodPrefix()  : string
get seoproxy method prefix
getTypeByEngine()  : string|null
get type by engineCode
getTypes()  : array<string|int, mixed>
Get type list.
getVideo()  : mixed
registerGroup()  : bool
Register group.
unRegisterGroup()  : bool
UnRegister group.

Constants

TYPE_FACEBOOK

public mixed TYPE_FACEBOOK = 'facebook'

TYPE_VKONTAKTE

public mixed TYPE_VKONTAKTE = 'vkontakte'

Methods

canUseAsInternal()

check if service can use as internal

public static canUseAsInternal() : bool
Tags
inheritDoc
Return values
bool

getAccount()

Get Account by type.

public getAccount(string $type) : Account
Parameters
$type : string

Type

Return values
Account

getAuthAdapter()

Get auth adapter.

public static getAuthAdapter(string $type) : AuthAdapter
Parameters
$type : string

Type

Return values
AuthAdapter

getAuthUrl()

public getAuthUrl(mixed $type) : string
Parameters
$type : mixed
Return values
string

getEngineCode()

Get engine code by type.

public static getEngineCode(string $type) : string
Parameters
$type : string

Type

Return values
string

getForm()

Get Form by type.

public getForm(string $type) : Form
Parameters
$type : string

Type

Return values
Form

getInstance()

Get instance.

public static getInstance() : static
Return values
static

getMethodPrefix()

get seoproxy method prefix

public static getMethodPrefix() : string
Tags
inheritDoc
Return values
string

getTypeByEngine()

get type by engineCode

public static getTypeByEngine(string $engineCode) : string|null
Parameters
$engineCode : string
Tags
inheritDoc
Return values
string|null

getTypes()

Get type list.

public static getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getVideo()

public static getVideo(string $videoId) : mixed
Parameters
$videoId : string

registerGroup()

Register group.

public static registerGroup(string $type, string $groupId) : bool
Parameters
$type : string

Type.

$groupId : string

Group ID.

Return values
bool

unRegisterGroup()

UnRegister group.

public static unRegisterGroup(string $type, string $groupId) : bool
Parameters
$type : string

Type.

$groupId : string

Group ID.

Return values
bool

        
On this page

Search results