1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Controller

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

 __construct ()
 enableItemErrors ()
 processList ($list)
 decreaseLimit ()
 processItem ($item)
 getCounters ()

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

static run ($data=null, array $parameters=[])
static giveAnswer ($isError=false, $answer=null)
static isStatusError ($status)
static isStatusPermanentError ($status)
static isBlacklistable ($description)

Поля данных

const STATUS_DEFERED = 'defered'
const STATUS_BOUNCED = 'bounced'
const STATUS_DELIVERED = 'delivered'
const DESC_AUTH = 'AUTH_ERROR'
const DESC_UNKNOWN_USER = 'UNKNOWN_USER'
const DESC_UNROUTEABLE = 'UNROUTEABLE'

Защищенные члены

 validateItem ($item)

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

 $id
 $result
 $config
 $address
 $blacklist = []
 $smtpLimited = []
 $enableItemErrors = false
 $countItems = 0
 $countItemsProcessed = 0
 $countItemsError = 0
array $refreshedTokens = []

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

static $answerExceptions = true

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

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

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

◆ __construct()

__construct ( )

Controller constructor.

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

Методы

◆ decreaseLimit()

decreaseLimit ( )

Decrease limits.

Возвращает
void

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

◆ enableItemErrors()

enableItemErrors ( )

Enable item errors.

Возвращает
$this

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

◆ getCounters()

getCounters ( )

Get counters

Возвращает
array

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

◆ giveAnswer()

giveAnswer ( $isError = false,
$answer = null )
static

Give answer.

Аргументы
bool$isErrorData.
string | array | null$answerAnswer.
Возвращает
void

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

◆ isBlacklistable()

isBlacklistable ( $description)
static

Return true if status descriptions is blacklistable.

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

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

◆ isStatusError()

isStatusError ( $status)
static

Return true if status is error.

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

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

◆ isStatusPermanentError()

isStatusPermanentError ( $status)
static

Return true if status is permanent error.

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

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

◆ processItem()

processItem ( $item)

Process item.

Аргументы
array$itemItem data.
Возвращает
bool
Исключения
SystemException

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

◆ processList()

processList ( $list)

Process list.

Аргументы
array$listList of items.
Возвращает
void
Исключения
SystemException

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

◆ run()

run ( $data = null,
array $parameters = [] )
static

Run controller.

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

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

◆ validateItem()

validateItem ( $item)
protected

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

Поля

◆ $address

$address
protected

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

◆ $answerExceptions

$answerExceptions = true
staticprotected

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

◆ $blacklist

$blacklist = []
protected

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

◆ $config

$config
protected

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

◆ $countItems

$countItems = 0
protected

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

◆ $countItemsError

$countItemsError = 0
protected

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

◆ $countItemsProcessed

$countItemsProcessed = 0
protected

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

◆ $enableItemErrors

$enableItemErrors = false
protected

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

◆ $id

$id
protected

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

◆ $refreshedTokens

array $refreshedTokens = []
protected

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

◆ $result

$result
protected

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

◆ $smtpLimited

$smtpLimited = []
protected

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

◆ DESC_AUTH

const DESC_AUTH = 'AUTH_ERROR'

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

◆ DESC_UNKNOWN_USER

const DESC_UNKNOWN_USER = 'UNKNOWN_USER'

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

◆ DESC_UNROUTEABLE

const DESC_UNROUTEABLE = 'UNROUTEABLE'

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

◆ STATUS_BOUNCED

const STATUS_BOUNCED = 'bounced'

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

◆ STATUS_DEFERED

const STATUS_DEFERED = 'defered'

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

◆ STATUS_DELIVERED

const STATUS_DELIVERED = 'delivered'

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


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