См. определение в файле sender.php строка 43
◆ __construct()
Sender constructor.
- Аргументы
-
См. определение в файле sender.php строка 107
◆ applyRecipientToMessage()
Apply recipient data to message.
- Аргументы
-
Adapter | $message | Message. |
array | $recipient | Recipient. |
bool | $isTest | Is test. |
- Возвращает
- void
См. определение в файле sender.php строка 764
◆ canDenySendToRecipient()
canDenySendToRecipient |
( |
| $recipient | ) |
|
|
protected |
◆ canSendConsentToRecipient()
canSendConsentToRecipient |
( |
| $recipient | ) |
|
|
protected |
◆ canSendMessageToRecipient()
canSendMessageToRecipient |
( |
| $recipient | ) |
|
|
protected |
◆ changeStatusToPart()
◆ executeConsentToRecipient()
executeConsentToRecipient |
( |
| $recipient | ) |
|
|
protected |
◆ executeEvent()
executeEvent |
( |
| $recipient, |
|
|
| $success ) |
|
protected |
◆ getExceededLimiter()
Get transport exceeded limiter.
- Возвращает
- iLimiter|null
См. определение в файле sender.php строка 567
◆ getMessage()
◆ getRecipientsToSend()
◆ getResultCode()
Get result code.
- Возвращает
- int
См. определение в файле sender.php строка 149
◆ getThreadStrategy()
- Возвращает
- IThreadStrategy
См. определение в файле sender.php строка 871
◆ initRecipients()
◆ isLimitExceeded()
Check limits.
- Возвращает
- bool
См. определение в файле sender.php строка 840
◆ isPrevented()
◆ isStoppedOnRun()
◆ isTimeout()
Check timeout.
- Возвращает
- bool
См. определение в файле sender.php строка 825
◆ isTransportLimitsExceeded()
isTransportLimitsExceeded |
( |
| ) |
|
Check transport limits.
- Возвращает
- bool
См. определение в файле sender.php строка 557
◆ load()
Load posting.
- Аргументы
-
integer | $postingId | Posting ID. |
- Возвращает
- void
См. определение в файле sender.php строка 329
◆ lock()
lock |
( |
| $id, |
|
|
| $threadId = 0 ) |
|
static |
Lock posting for preventing double sending
- Аргументы
-
int | $id | ID |
int | $threadId | Default 0 |
- Возвращает
- bool
См. определение в файле sender.php строка 529
◆ needConsent()
◆ prepareRecipientFields()
prepareRecipientFields |
( |
| $recipient | ) |
|
|
staticprotected |
◆ prevent()
◆ send()
Send.
- Возвращает
- void
- Исключения
-
Exception
См. определение в файле sender.php строка 160
◆ sendToRecipient()
sendToRecipient |
( |
| $recipient | ) |
|
|
protected |
◆ setLimit()
Set limit.
- Аргументы
-
- Возвращает
- $this
См. определение в файле sender.php строка 123
◆ setPostingDateSend()
◆ setThreadStrategy()
- Аргументы
-
IThreadStrategy | $threadStrategy | |
- Возвращает
- Sender
См. определение в файле sender.php строка 881
◆ setTimeout()
Set timeout.
- Аргументы
-
- Возвращает
- $this
См. определение в файле sender.php строка 137
◆ startTime()
Start time watch.
- Возвращает
- void
См. определение в файле sender.php строка 371
◆ unlock()
unlock |
( |
| $id, |
|
|
| $threadId = 0 ) |
|
static |
UnLock posting that was locking for preventing double sending
- Аргументы
-
- Возвращает
- bool
См. определение в файле sender.php строка 858
◆ updateActualStatus()
updateActualStatus |
( |
| $postingId, |
|
|
| $isPrevented = false, |
|
|
| $awaitThread = false ) |
|
static |
Update actual status.
- Аргументы
-
int | $postingId | Posting ID. |
bool | $isPrevented | Is sending prevented. |
- Возвращает
- string
См. определение в файле sender.php строка 450
◆ updateRecipientStatus()
updateRecipientStatus |
( |
| $primary, |
|
|
| $status ) |
|
protected |
◆ $checkStatusCounter
◆ $checkStatusStep
◆ $isConsentSupport
◆ $isPrevented
◆ $isReiterate
◆ $isTrigger
◆ $letter
◆ $letterId
◆ $limit
◆ $mailingId
◆ $message
◆ $postingId
◆ $resultCode
$resultCode = self::RESULT_NONE |
|
protected |
◆ $sendCount
◆ $sentCount
◆ $status
◆ $threadStrategy
◆ $timeAtStart
◆ $timeout
◆ RESULT_CONTINUE
const RESULT_CONTINUE = 2 |
◆ RESULT_ERROR
◆ RESULT_NONE
◆ RESULT_SENT
◆ RESULT_WAIT
◆ RESULT_WAITING_RECIPIENT
const RESULT_WAITING_RECIPIENT = 5 |
Объявления и описания членов класса находятся в файле: