1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Service
Граф наследования:Service:
IService IMultiClientService IInternalService IService

Открытые члены

 getClientId ()
 setClientId ($clientId)

Открытые статические члены

static getInstance ()
static getEngineCode ($type)
static getAccount ($type)
static createCampaign ($type, array $data)
static createAudience ($type, array $data)
static getPostList ($type, $params)
static getAudience ($type)
static getAudienceList ($type, $accountId)
static getAdSetList ($type, $accountId)
static getAds ($type, $adsId)
static searchTargetingData ($type, $params)
static getCampaignList ($type, $accountId)
static getTypes ()
static getAuthAdapter ($type)
static canUseMultipleClients ()
static getTypeByEngine (string $engineCode)
static canUseAsInternal ()
static getMethodPrefix ()

Поля данных

const GROUP = 'marketing'
const TYPE_FACEBOOK = 'facebook'
const TYPE_INSTAGRAM = 'instagram'

Защищенные данные

 $clientId

Подробное описание

См. определение в файле service.php строка 16

Методы

◆ canUseAsInternal()

canUseAsInternal ( )
static

@inheritDoc

Замещает IInternalService.

См. определение в файле service.php строка 261

◆ canUseMultipleClients()

canUseMultipleClients ( )
static

Can use multiple clients

Возвращает
bool
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

Замещает IMultiClientService.

См. определение в файле service.php строка 238

◆ createAudience()

createAudience ( $type,
array $data )
static
Аргументы
$type
array$data
Возвращает
mixed

См. определение в файле service.php строка 89

◆ createCampaign()

createCampaign ( $type,
array $data )
static
Аргументы
$type
array$data
Возвращает
mixed

См. определение в файле service.php строка 76

◆ getAccount()

getAccount ( $type)
static

Get Account by type.

Аргументы
string$typeType
Возвращает
Account

См. определение в файле service.php строка 58

◆ getAds()

getAds ( $type,
$adsId )
static
Аргументы
$type
$adsId
Возвращает
mixed

См. определение в файле service.php строка 152

◆ getAdSetList()

getAdSetList ( $type,
$accountId )
static
Аргументы
$type
$accountId
Возвращает
array|null

См. определение в файле service.php строка 139

◆ getAudience()

getAudience ( $type)
static
Аргументы
$type
Возвращает
Audience|null

См. определение в файле service.php строка 114

◆ getAudienceList()

getAudienceList ( $type,
$accountId )
static
Аргументы
$type
$accountId
Возвращает
array|null

См. определение в файле service.php строка 126

◆ getAuthAdapter()

getAuthAdapter ( $type)
static

Get auth adapter.

Аргументы
string$typeType.
Возвращает
AuthAdapter

Замещает IService.

См. определение в файле service.php строка 205

◆ getCampaignList()

getCampaignList ( $type,
$accountId )
static
Аргументы
$type
$accountId
Возвращает
array|null

См. определение в файле service.php строка 178

◆ getClientId()

getClientId ( )

Get client id

Возвращает
string

Замещает IMultiClientService.

См. определение в файле service.php строка 215

◆ getEngineCode()

getEngineCode ( $type)
static

Get engine code by type.

Аргументы
string$typeType
Возвращает
string

Замещает IService.

См. определение в файле service.php строка 46

◆ getInstance()

getInstance ( )
static

Get instance.

Возвращает
static

См. определение в файле service.php строка 28

◆ getMethodPrefix()

getMethodPrefix ( )
static

@inheritDoc

Замещает IInternalService.

См. определение в файле service.php строка 269

◆ getPostList()

getPostList ( $type,
$params )
static
Аргументы
$type
$accountId
Возвращает
array|null

См. определение в файле service.php строка 102

◆ getTypeByEngine()

getTypeByEngine ( string $engineCode)
static

@inheritDoc

Замещает IInternalService.

См. определение в файле service.php строка 246

◆ getTypes()

getTypes ( )
static

Get type list.

Возвращает
array

Замещает IService.

См. определение в файле service.php строка 190

◆ searchTargetingData()

searchTargetingData ( $type,
$params )
static
Аргументы
$type
$adsId
Возвращает
mixed

См. определение в файле service.php строка 165

◆ setClientId()

setClientId ( $clientId)

Set client id.

Аргументы
string$clientIdClient id.
Возвращает
void

Замещает IMultiClientService.

См. определение в файле service.php строка 227

Поля

◆ $clientId

$clientId
protected

См. определение в файле service.php строка 21

◆ GROUP

const GROUP = 'marketing'

См. определение в файле service.php строка 18

◆ TYPE_FACEBOOK

const TYPE_FACEBOOK = 'facebook'

См. определение в файле service.php строка 19

◆ TYPE_INSTAGRAM

const TYPE_INSTAGRAM = 'instagram'

См. определение в файле service.php строка 20


Объявления и описания членов класса находятся в файле: