Service
Class Service
Table of Contents
Methods
- canUse() : bool
- Can use.
- getAdsProvider() : array<string|int, mixed>
- Get ads provider.
- getTypeMap() : array<string|int, mixed>
- Get type map.
- isAvailable() : bool
- Service can be used, but is not available because of plan.
- send() : bool
- Send.
Methods
canUse()
Can use.
public
static canUse() : bool
Return values
boolgetAdsProvider()
Get ads provider.
public
static getAdsProvider(string $adsType[, mixed $clientId = null ]) : array<string|int, mixed>
Parameters
- $adsType : string
-
Ads type.
- $clientId : mixed = null
Return values
array<string|int, mixed>getTypeMap()
Get type map.
public
static getTypeMap() : array<string|int, mixed>
Return values
array<string|int, mixed>isAvailable()
Service can be used, but is not available because of plan.
public
static isAvailable() : bool
Return values
boolsend()
Send.
public
static send(stdClass $config, array<string|int, mixed> $contacts) : bool
Parameters
- $config : stdClass
-
Config.
- $contacts : array<string|int, mixed>
-
.