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

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

static getTableName ()
static getMap ()
static onDelete (Entity\Event $event)
static addRecipient ($ar, $checkDuplicate=false)
static initGroupRecipients ($postingId, $checkDuplicate=true)
static getRecipientCountByStatus ($id, ?array $customFilter=null)
static getRecipientCount ($id, $status='')
static getSendPercent ($id)
static getRecipientStatusToPostingFieldMap ()
static deleteList (array $filter)
Открытые статические члены унаследованные от 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_PART = 'P'
const STATUS_SENT = 'S'
const STATUS_SENT_WITH_ERRORS = 'E'
const STATUS_ABORT = 'A'
const STATUS_WAIT = 'W'
Поля данных унаследованные от 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

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

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

Методы

◆ addRecipient()

addRecipient ( $ar,
$checkDuplicate = false )
static
Аргументы
$ar
bool$checkDuplicate

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

◆ deleteList()

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

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\DB\SqlQueryException

Исключения

Bitrix\Main\SystemException

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

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

◆ getMap()

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

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

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

◆ getRecipientCount()

getRecipientCount ( $id,
$status = '' )
static
Аргументы
$id
string$status
Возвращает
int

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

◆ getRecipientCountByStatus()

getRecipientCountByStatus ( $id,
?array $customFilter = null )
static
Аргументы
$id
array | null$customFilter
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getRecipientStatusToPostingFieldMap()

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

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

◆ getSendPercent()

getSendPercent ( $id)
static

Return send status of posting in percents by posting id.

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

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

◆ getTableName()

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

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

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

◆ initGroupRecipients()

initGroupRecipients ( $postingId,
$checkDuplicate = true )
static
Аргументы
$postingId
bool$checkDuplicate
bool$prepareFields
Возвращает
bool

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

◆ onDelete()

onDelete ( Entity\Event $event)
static
Аргументы
Entity\Event$event
Возвращает
Entity\EventResult
Исключения

Bitrix\Main\ArgumentException

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

Поля

◆ STATUS_ABORT

const STATUS_ABORT = 'A'

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

◆ STATUS_NEW

const STATUS_NEW = 'N'

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

◆ STATUS_PART

const STATUS_PART = 'P'

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

◆ STATUS_SENT

const STATUS_SENT = 'S'

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

◆ STATUS_SENT_WITH_ERRORS

const STATUS_SENT_WITH_ERRORS = 'E'

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

◆ STATUS_WAIT

const STATUS_WAIT = 'W'

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


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