Bitrix API

AdsService

AbstractYes

Class AdsService.

Table of Contents

Methods

canUse()  : bool
Return true if it can use.
enableLogs()  : void
Enable logs.
getAccounts()  : array<string|int, mixed>
Get accounts.
getErrors()  : array<string|int, mixed>
Get logs.
getLogs()  : array<string|int, mixed>
Get logs.
getProviders()  : array<string|int, mixed>
Get providers.
getService()  : Service
Get service.
getServiceTypes()  : array<string|int, mixed>
Get service types.
hasErrors()  : bool
Return true if it has errors.
removeAuth()  : mixed
Remove auth.
resetErrors()  : void
Reset errors.

Methods

canUse()

Return true if it can use.

public static canUse() : bool
Return values
bool

enableLogs()

Enable logs.

public static enableLogs() : void

getAccounts()

Get accounts.

public static getAccounts(string $type) : array<string|int, mixed>
Parameters
$type : string

Type.

Return values
array<string|int, mixed>

getErrors()

Get logs.

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

getLogs()

Get logs.

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

getProviders()

Get providers.

public static getProviders([array<string|int, mixed>|null $types = null ]) : array<string|int, mixed>
Parameters
$types : array<string|int, mixed>|null = null

Types.

Return values
array<string|int, mixed>

getServiceTypes()

Get service types.

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

hasErrors()

Return true if it has errors.

public static hasErrors() : bool
Return values
bool

removeAuth()

Remove auth.

public static removeAuth(string $type) : mixed
Parameters
$type : string

Type.

resetErrors()

Reset errors.

public static resetErrors() : void

        
On this page

Search results