Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс MessageTable
+ Граф наследования:MessageTable:

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

static getTableName ()
 
static getMap ()
 
static getByExternalId (string $senderId, string $externalId, ?string $from=null)
 
static updateStatusId (int $id, int $newStatusId)
 
static updateMessageStatuses ($id, $newInternalStatusId, $newExternalStatus)
 
static getDailyCount ($senderId, $fromId)
 
static getAllDailyCount ()
 
static returnDeferredToQueue ($senderId, $fromId)
 
static validateType ()
 
static validateSenderId ()
 
static validateMessageFrom ()
 
static validateMessageTo ()
 
static validateExecError ()
 
static validateExternalId ()
 
static validateExternalStatus ()
 
- Открытые статические члены унаследованные от 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)
 
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 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)
 

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

- Открытые атрибуты унаследованные от 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 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
 
static $reservedWords
 

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

Class MessageTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_Message_Query query() @method static EO_Message_Result getByPrimary($primary, array $parameters = array()) @method static EO_Message_Result getById($id) @method static EO_Message_Result getList(array $parameters = array()) @method static EO_Message_Entity getEntity() @method static \Bitrix\MessageService\Internal\Entity\EO_Message createObject($setDefaultValues = true) @method static \Bitrix\MessageService\Internal\Entity\EO_Message_Collection createCollection() @method static \Bitrix\MessageService\Internal\Entity\EO_Message wakeUpObject($row) @method static \Bitrix\MessageService\Internal\Entity\EO_Message_Collection wakeUpCollection($rows)

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

Методы

◆ getAllDailyCount()

static getAllDailyCount ( )
static

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

◆ getByExternalId()

static getByExternalId ( string $senderId,
string $externalId,
?string $from = null )
static

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

◆ getDailyCount()

static getDailyCount ( $senderId,
$fromId )
static

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

◆ getMap()

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

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

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

◆ getTableName()

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

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

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

◆ returnDeferredToQueue()

static returnDeferredToQueue ( $senderId,
$fromId )
static

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

◆ updateMessageStatuses()

static updateMessageStatuses ( $id,
$newInternalStatusId,
$newExternalStatus )
static

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

◆ updateStatusId()

static updateStatusId ( int $id,
int $newStatusId )
static

Updates message to the new status and returns result of update.

Аргументы
int$idId of the message.
int$newStatusIdNew status id.
Возвращает
bool True if updated successfully and false otherwise (for example, if the message already was in this status).

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

◆ validateExecError()

static validateExecError ( )
static

Returns validators for EXEC_ERROR field.

Возвращает
array

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

◆ validateExternalId()

static validateExternalId ( )
static

Returns validators for EXTERNAL_ID field.

Возвращает
array

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

◆ validateExternalStatus()

static validateExternalStatus ( )
static

Returns validators for EXTERNAL_STATUS field.

Возвращает
array

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

◆ validateMessageFrom()

static validateMessageFrom ( )
static

Returns validators for MESSAGE_FROM field.

Возвращает
array

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

◆ validateMessageTo()

static validateMessageTo ( )
static

Returns validators for MESSAGE_TO field.

Возвращает
array

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

◆ validateSenderId()

static validateSenderId ( )
static

Returns validators for SENDER_ID field.

Возвращает
array

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

◆ validateType()

static validateType ( )
static

Returns validators for TYPE field.

Возвращает
array

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