См. определение в файле letter.php строка 35
◆ canChangeSegments()
Return true if can change segments.
- Возвращает
- bool
См. определение в файле letter.php строка 684
◆ canChangeTemplate()
Return true if can change template.
- Возвращает
- bool
См. определение в файле letter.php строка 726
◆ copy()
Copy.
- Возвращает
- integer|null
См. определение в файле letter.php строка 950
◆ createInstanceByArray()
createInstanceByArray |
( |
array | $data, |
|
|
array | $messageCodes = [] ) |
|
static |
Create instance by array data.
- Аргументы
-
array | $data | Data. |
array | $messageCodes | Message codes. |
- Возвращает
- static|Letter|Ad|Rc|null
См. определение в файле letter.php строка 242
◆ createInstanceByCode()
createInstanceByCode |
( |
| $code = null, |
|
|
array | $messageCodes = [] ) |
|
staticprotected |
◆ createInstanceByContactId()
createInstanceByContactId |
( |
| $contactId, |
|
|
array | $messageCodes = [] ) |
|
static |
Create instance by contact ID.
- Аргументы
-
integer | $contactId | Contact ID. |
array | $messageCodes | Message codes. |
- Возвращает
- static|Ad|null
См. определение в файле letter.php строка 286
◆ createInstanceById()
createInstanceById |
( |
| $id = null, |
|
|
array | $messageCodes = [] ) |
|
static |
Create instance by ID.
- Аргументы
-
integer | null | $id | ID. |
array | $messageCodes | Message codes. |
- Возвращает
- static|Letter|Ad|Rc|null
См. определение в файле letter.php строка 198
◆ createInstanceByPostingId()
createInstanceByPostingId |
( |
| $postingId | ) |
|
|
static |
Create instance by posting ID.
- Аргументы
-
integer | $postingId | Posting ID. |
- Возвращает
- static|Ad|null
См. определение в файле letter.php строка 257
◆ getCampaignId()
Get campaign ID.
- Возвращает
- mixed
См. определение в файле letter.php строка 811
◆ getCounter()
Get counter instance.
- Возвращает
- Posting\Counter
См. определение в файле letter.php строка 872
◆ getDataClass()
Get data manager.
- Возвращает
- \Bitrix\Main\Entity\DataManager
См. определение в файле letter.php строка 80
◆ getDefaultData()
Get default data.
- Возвращает
- array
См. определение в файле letter.php строка 359
◆ getDefaultSelectFields()
getDefaultSelectFields |
( |
| ) |
|
|
static |
◆ getDuration()
Get duration instance.
- Возвращает
- Dispatch\Duration
См. определение в файле letter.php строка 821
◆ getFilterFields()
Get filter fields.
- Возвращает
- array
Переопределяется в Ad, Rc и Toloka.
См. определение в файле letter.php строка 64
◆ getLastPostingData()
Get last posting data.
- Возвращает
- array
См. определение в файле letter.php строка 1188
◆ getList()
Get list.
- Аргументы
-
array | $parameters | Parameters. |
- Возвращает
- DB\Result
См. определение в файле letter.php строка 91
◆ getListWithMessageFields()
getListWithMessageFields |
( |
array | $parameters = array() | ) |
|
|
static |
Get list with message fields
- Аргументы
-
array | $parameters | Getlist params. |
- Возвращает
- DB\ArrayResult
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле letter.php строка 157
◆ getMessage()
Get Message instance.
- Возвращает
- MainMessage\Adapter
- Исключения
-
Bitrix\Main\ArgumentException
См. определение в файле letter.php строка 743
◆ getMethod()
Get method instance.
- Возвращает
- Dispatch\Method
См. определение в файле letter.php строка 855
◆ getState()
Get state instance.
- Возвращает
- Dispatch\State
См. определение в файле letter.php строка 838
◆ getTester()
Get Tester instance.
- Возвращает
- MainMessage\Tester
См. определение в файле letter.php строка 889
◆ halt()
◆ hasStatistics()
Return true if it have statistics.
- Возвращает
- bool
См. определение в файле letter.php строка 668
◆ isReiterate()
Is reiterate letter.
- Возвращает
- bool
См. определение в файле letter.php строка 899
◆ isSupportHeatMap()
Is support heat map.
- Возвращает
- bool
См. определение в файле letter.php строка 786
◆ isSupportReiterate()
Is support reiterate run.
- Возвращает
- bool
См. определение в файле letter.php строка 796
◆ isSupportTesting()
Is support testing.
- Возвращает
- bool
См. определение в файле letter.php строка 919
◆ isTrigger()
Is trigger letter.
- Возвращает
- bool
См. определение в файле letter.php строка 909
◆ loadData()
Load data.
- Аргументы
-
- Возвращает
- array|null
См. определение в файле letter.php строка 639
◆ loadDataSegments()
Load segments data.
- Аргументы
-
- Возвращает
- array
См. определение в файле letter.php строка 695
◆ pause()
◆ plan()
Plan sending.
- Аргументы
-
- Возвращает
- bool
См. определение в файле letter.php строка 1015
◆ prepareSearchContent()
◆ remove()
Remove.
- Возвращает
- bool
См. определение в файле letter.php строка 929
◆ removeById()
Remove by letter ID.
- Аргументы
-
- Возвращает
- bool
См. определение в файле letter.php строка 940
◆ resume()
◆ saveData()
saveData |
( |
| $id, |
|
|
array | $data ) |
|
protected |
Save data.
- Аргументы
-
integer | null | $id | ID. |
array | $data | Data. |
- Возвращает
- integer|null
Переопределяется в Ad, Rc и Toloka.
См. определение в файле letter.php строка 377
◆ saveDataSegments()
saveDataSegments |
( |
| $id, |
|
|
array | $segmentsInclude, |
|
|
array | $segmentsExclude ) |
|
protected |
◆ send()
◆ sendErrors()
Send errors.
- Возвращает
- bool
См. определение в файле letter.php строка 1098
◆ stop()
◆ test()
Send test message to recipient.
- Аргументы
-
array | $codes | Recipient codes. |
array | $parameters | Parameters. |
- Возвращает
- Result
См. определение в файле letter.php строка 1004
◆ updateTemplateUseCount()
updateTemplateUseCount |
( |
array | $data, |
|
|
array | $previousData ) |
|
protected |
◆ wait()
Wait sending.
- Возвращает
- bool
См. определение в файле letter.php строка 1033
◆ $counter
◆ $duration
◆ $message
◆ $messagesCache
◆ $method
◆ $postingData
◆ $state
Объявления и описания членов класса находятся в файле: