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

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

 __construct (iBase $message)
 getName ()
 getTransport ()
 setTransport (Transport\Adapter $transport)
 getCode ()
 getId ()
 getSupportedTransports ()
 getSupportedRecipientTypes ()
 getTester ()
 loadConfiguration ($id=null)
 setConfigurationData (array $data)
 getConfiguration ()
 saveConfiguration (Configuration $configuration)
 copyConfiguration ($id)
 getField ($key)
 getFields ()
 setFields (array $fields)
 replaceFields ($content="", $replaceChar='#', $crmEntityTypeId=null)
 getTo ()
 getRecipientCode ()
 setRecipientCode ($code)
 getRecipientId ()
 setRecipientId ($id)
 getRecipientType ()
 setRecipientType ($type)
 getRecipientData ()
 setRecipientData (array $data)
 getReadTracker ()
 getClickTracker ()
 getUnsubTracker ()
 send ()
 getSendDuration ()
 setSiteId ($id=null)
 getSiteId ()
 getCharset ()
 getSiteName ()
 getSiteServerName ()
 isAds ()
 isMarketing ()
 isMailing ()
 isReturnCustomer ()
 isMasterYandex ()
 isHidden ()
 isAvailable ()
 hasStatistics ()
 getAudioValue ($optionCode, $newValue)
 onBeforeStart ()
 onAfterEnd ()
 getEntityCode ()
 preHandleReaplaceValue ($code, $value)
 preHandleReplaceCode ($code, $crmEntityTypeId)

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

static getInstance ($code)
static create ($code)

Поля данных

const PATTERN_STATUS_ITEM = 'ENTITY_ID_'
Поля данных унаследованные от iBase
const CODE_MAIL = 'mail'
const CODE_TOLOKA = 'toloka'
const CODE_WEB_HOOK = 'web_hook'
const CODE_SMS = 'sms'
const CODE_IM = 'im'
const CODE_CALL = 'call'
const CODE_AUDIO_CALL = 'audio_call'
const CODE_UNDEFINED = ''
const CODE_MASTER_YANDEX = 'master_yandex'
const EVENT_NAME = 'onSenderMessageList'

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

Bitrix Crm Service Factory $factory = null
 $message
 $tester
 $configuration
 $transport
 $fields = array()
 $siteId = null
 $siteData = null
 $recipientCode
 $recipientId
 $recipientType
 $recipientData
 $readTracker
 $clickTracker
 $unsubTracker

Статические защищенные данные

static $list
static $statuses = []

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

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

Конструктор(ы)

◆ __construct()

__construct ( iBase $message)

Message constructor.

Аргументы
iBase$messageMessage.

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

Методы

◆ copyConfiguration()

copyConfiguration ( $id)

Copy configuration.

Аргументы
integer | string | null$idID.
Возвращает
Result|null

Замещает iBase.

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

◆ create()

create ( $code)
static

Create instance.

Аргументы
string$codeCode.
Возвращает
static
Исключения
ArgumentException

Create.

Аргументы
string$codeCode.
Возвращает
static
Исключения
ArgumentException

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

◆ getAudioValue()

getAudioValue ( $optionCode,
$newValue )

Check value of audio field and prepare it for DB

Аргументы
string$optionCodeField code.
string$newValueNew field value.
Возвращает
bool|string

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

◆ getCharset()

getCharset ( )

Get charset.

Возвращает
string

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

◆ getClickTracker()

getClickTracker ( )

Get click tracker.

Возвращает
Tracker

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

◆ getCode()

getCode ( )

Get code.

Возвращает
string

Замещает iBase.

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

◆ getConfiguration()

getConfiguration ( )

Get configuration.

Возвращает
Configuration

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

◆ getEntityCode()

getEntityCode ( )

@inheritDoc

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

◆ getField()

getField ( $key)

Get field.

Аргументы
string$keyKey.
Возвращает
mixed|string|null

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

◆ getFields()

getFields ( )

Get fields.

Возвращает
array

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

◆ getId()

getId ( )

Get ID.

Возвращает
string

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

◆ getInstance()

getInstance ( $code)
static

Get instance.

Аргументы
string$codeMessage code.
Возвращает
static
Исключения
ArgumentException

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

◆ getName()

getName ( )

Get name.

Возвращает
string

Замещает iBase.

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

◆ getReadTracker()

getReadTracker ( )

Get read tracker.

Возвращает
Tracker

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

◆ getRecipientCode()

getRecipientCode ( )

Get recipient code.

Возвращает
string

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

◆ getRecipientData()

getRecipientData ( )

Get recipient data.

Возвращает
array

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

◆ getRecipientId()

getRecipientId ( )

Get recipient ID.

Возвращает
string

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

◆ getRecipientType()

getRecipientType ( )

Get recipient type.

Возвращает
string

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

◆ getSendDuration()

getSendDuration ( )

Get send duration.

Возвращает
integer

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

◆ getSiteId()

getSiteId ( )

Get site ID.

Возвращает
string

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

◆ getSiteName()

getSiteName ( )

Get site ID.

Возвращает
string

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

◆ getSiteServerName()

getSiteServerName ( )

Get site server name.

Возвращает
string

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

◆ getSupportedRecipientTypes()

getSupportedRecipientTypes ( )

Get supported recipient types.

Возвращает
integer[]

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

◆ getSupportedTransports()

getSupportedTransports ( )

Get supported transports.

Возвращает
array

Замещает iBase.

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

◆ getTester()

getTester ( )

Is support testing.

Возвращает
Tester

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

◆ getTo()

getTo ( )

Get to.

Возвращает
string

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

◆ getTransport()

getTransport ( )

Get transport.

Возвращает
Transport\Adapter

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

◆ getUnsubTracker()

getUnsubTracker ( )

Get unsub tracker.

Возвращает
Tracker

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

◆ hasStatistics()

hasStatistics ( )

Return true if it has statistics.

Возвращает
bool

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

◆ isAds()

isAds ( )

Is ads.

Возвращает
bool

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

◆ isAvailable()

isAvailable ( )

Is available.

Возвращает
bool

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

◆ isHidden()

isHidden ( )

Return true if is hidden.

Возвращает
bool

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

◆ isMailing()

isMailing ( )

Is mailing.

Возвращает
bool

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

◆ isMarketing()

isMarketing ( )

Is ads.

Возвращает
bool

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

◆ isMasterYandex()

isMasterYandex ( )

Is master yandex.

Возвращает
bool

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

◆ isReturnCustomer()

isReturnCustomer ( )

Is return customer.

Возвращает
bool

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

◆ loadConfiguration()

loadConfiguration ( $id = null)

Load configuration.

Аргументы
string | null$idID.
Возвращает
Configuration

Замещает iBase.

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

◆ onAfterEnd()

onAfterEnd ( )

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

◆ onBeforeStart()

onBeforeStart ( )

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

◆ preHandleReaplaceValue()

preHandleReaplaceValue ( $code,
$value )

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

◆ preHandleReplaceCode()

preHandleReplaceCode ( $code,
$crmEntityTypeId )

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

◆ replaceFields()

replaceFields ( $content = "",
$replaceChar = '#',
$crmEntityTypeId = null )

Replace fields in content.

Аргументы
string$contentContent.
string$replaceCharReplace char.
Возвращает
string

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

◆ saveConfiguration()

saveConfiguration ( Configuration $configuration)

Save configuration.

Аргументы
Configuration$configurationConfiguration.
Возвращает
Result

Замещает iBase.

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

◆ send()

send ( )

Send.

Возвращает
bool

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

◆ setConfigurationData()

setConfigurationData ( array $data)

Set configuration data.

Аргументы
array$dataData.
Возвращает
void

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

◆ setFields()

setFields ( array $fields)

Set fields.

Аргументы
array$fieldsFields.
Возвращает
void

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

◆ setRecipientCode()

setRecipientCode ( $code)

Set recipient code.

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

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

◆ setRecipientData()

setRecipientData ( array $data)

Set recipient data.

Аргументы
array$dataData.
Возвращает
void

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

◆ setRecipientId()

setRecipientId ( $id)

Set recipient ID.

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

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

◆ setRecipientType()

setRecipientType ( $type)

Set recipient type.

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

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

◆ setSiteId()

setSiteId ( $id = null)

Set site ID.

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

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

◆ setTransport()

setTransport ( Transport\Adapter $transport)

Set transport.

Аргументы
Transport\Adapter$transportTransport.
Возвращает
void

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

Поля

◆ $clickTracker

$clickTracker
protected

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

◆ $configuration

$configuration
protected

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

◆ $factory

Bitrix Crm Service Factory $factory = null
protected

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

◆ $fields

$fields = array()
protected

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

◆ $list

$list
staticprotected

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

◆ $message

$message
protected

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

◆ $readTracker

$readTracker
protected

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

◆ $recipientCode

$recipientCode
protected

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

◆ $recipientData

$recipientData
protected

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

◆ $recipientId

$recipientId
protected

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

◆ $recipientType

$recipientType
protected

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

◆ $siteData

$siteData = null
protected

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

◆ $siteId

$siteId = null
protected

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

◆ $statuses

$statuses = []
staticprotected

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

◆ $tester

$tester
protected

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

◆ $transport

$transport
protected

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

◆ $unsubTracker

$unsubTracker
protected

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

◆ PATTERN_STATUS_ITEM

const PATTERN_STATUS_ITEM = 'ENTITY_ID_'

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


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