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

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

static getTableName ()
static getMap ()
static validateEmailForm ()
static checkEmail ($value)
static copy (?int $id)
static initPosting (?int $mailingChainId)
static onAfterAdd (Entity\Event $event)
static onBeforeUpdate (Entity\Event $event)
static onAfterUpdate (Entity\Event $event)
static onDelete (Entity\Event $event)
static deleteList (array $filter)
static onAfterDelete (Entity\Event $event)
static isReadyToSend ($id)
static isManualSentPartly ($id)
static isAutoSend ($id)
static canReSendErrorRecipients ($id)
static prepareReSendErrorRecipients ($id)
static setStatusNew ($mailingId)
static getStatusList ()
static getDefaultEmailFromList ()
static getEmailFromList ()
static setEmailFromToList ($email)
static getEmailToMeList ()
static setEmailToMeList ($email)
static onPresetTemplateList ($templateType=null, $templateId=null)
static getMessageById ($id)
Открытые статические члены унаследованные от DataManager
static getEntity ()
static unsetEntity ($class)
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static getUfId ()
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static add (array $data)
static addMulti ($rows, $ignoreEvents=false)
static update ($primary, array $data)
static delete ($primary)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

Поля данных

const STATUS_NEW = 'N'
const STATUS_SEND = 'S'
const STATUS_PAUSE = 'P'
const STATUS_WAIT = 'W'
const STATUS_PLAN = 'T'
const STATUS_END = 'Y'
const STATUS_CANCEL = 'C'
Поля данных унаследованные от DataManager
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"

Дополнительные унаследованные члены

Защищенные статические члены унаследованные от DataManager
static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)
Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

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

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

Методы

◆ canReSendErrorRecipients()

canReSendErrorRecipients ( $id)
static

Return true if chain can resend mails to recipients who have error sending

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

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

◆ checkEmail()

checkEmail ( $value)
static
Аргументы
string$valueValue.
Возвращает
mixed

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

◆ copy()

copy ( ?int $id)
static

Copy mailing chain.

Аргументы
int | null$idChain id
Возвращает
int|null Copied chain id
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ deleteList()

deleteList ( array $filter)
static
Аргументы
array$filter
Возвращает
\Bitrix\Main\DB\Result
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\DB\SqlQueryException

Исключения

Bitrix\Main\SystemException

Переопределяет метод предка DataManager.

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

◆ getDefaultEmailFromList()

getDefaultEmailFromList ( )
static
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

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

◆ getEmailFromList()

getEmailFromList ( )
static
Возвращает
array

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

◆ getEmailToMeList()

getEmailToMeList ( )
static
Возвращает
array

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

◆ getMap()

getMap ( )
static
Возвращает
array

Переопределяет метод предка DataManager.

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

◆ getMessageById()

getMessageById ( $id)
static

Get message of mailing chain by ID.

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

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

◆ getStatusList()

getStatusList ( )
static
Возвращает
array

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

◆ getTableName()

getTableName ( )
static
Возвращает
string

Переопределяет метод предка DataManager.

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

◆ initPosting()

initPosting ( ?int $mailingChainId)
static
Аргументы
int | null$mailingChainId
Возвращает
int|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ isAutoSend()

isAutoSend ( $id)
static

Return true if chain will auto send.

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

Bitrix\Main\ArgumentException

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

◆ isManualSentPartly()

isManualSentPartly ( $id)
static
Аргументы
$id
Возвращает
bool
Исключения

Bitrix\Main\ArgumentException

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

◆ isReadyToSend()

isReadyToSend ( $id)
static
Аргументы
$id
Возвращает
bool
Исключения

Bitrix\Main\ArgumentException

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

◆ onAfterAdd()

onAfterAdd ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
Entity\EventResult

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

◆ onAfterDelete()

onAfterDelete ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
void

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

◆ onAfterUpdate()

onAfterUpdate ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
Entity\EventResult

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

◆ onBeforeUpdate()

onBeforeUpdate ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
Entity\EventResult

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

◆ onDelete()

onDelete ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
Entity\EventResult

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

◆ onPresetTemplateList()

onPresetTemplateList ( $templateType = null,
$templateId = null )
static
Аргументы
string | null$templateTypeTemplate type.
string | null$templateIdTemplate ID.
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

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

◆ prepareReSendErrorRecipients()

prepareReSendErrorRecipients ( $id)
static

Change status of recipients and mailing chain for resending mails to recipients who have error sending

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

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

◆ setEmailFromToList()

setEmailFromToList ( $email)
static
Аргументы
$email

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

◆ setEmailToMeList()

setEmailToMeList ( $email)
static
Аргументы
$email

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

◆ setStatusNew()

setStatusNew ( $mailingId)
static
Аргументы
$mailingId

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

◆ validateEmailForm()

validateEmailForm ( )
static

Returns validators for EMAIL_FROM field.

Возвращает
array

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

Поля

◆ STATUS_CANCEL

const STATUS_CANCEL = 'C'

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

◆ STATUS_END

const STATUS_END = 'Y'

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

◆ STATUS_NEW

const STATUS_NEW = 'N'

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

◆ STATUS_PAUSE

const STATUS_PAUSE = 'P'

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

◆ STATUS_PLAN

const STATUS_PLAN = 'T'

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

◆ STATUS_SEND

const STATUS_SEND = 'S'

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

◆ STATUS_WAIT

const STATUS_WAIT = 'W'

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


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