PostingTable extends DataManager
Table of Contents
Constants
- STATUS_ABORT = 'A'
- STATUS_NEW = 'N'
- STATUS_PART = 'P'
- STATUS_SENT = 'S'
- STATUS_SENT_WITH_ERRORS = 'E'
- STATUS_WAIT = 'W'
Methods
- addRecipient() : mixed
- deleteList() : Result
- getMap() : array<string|int, mixed>
- getRecipientCount() : int
- getRecipientCountByStatus() : array<string|int, mixed>
- getRecipientStatusToPostingFieldMap() : array<string|int, mixed>
- getSendPercent() : int
- Return send status of posting in percents by posting id.
- getTableName() : string
- initGroupRecipients() : bool
- onDelete() : EventResult
Constants
STATUS_ABORT
public
mixed
STATUS_ABORT
= 'A'
STATUS_NEW
public
mixed
STATUS_NEW
= 'N'
STATUS_PART
public
mixed
STATUS_PART
= 'P'
STATUS_SENT
public
mixed
STATUS_SENT
= 'S'
STATUS_SENT_WITH_ERRORS
public
mixed
STATUS_SENT_WITH_ERRORS
= 'E'
STATUS_WAIT
public
mixed
STATUS_WAIT
= 'W'
Methods
addRecipient()
public
static addRecipient(mixed $ar[, bool $checkDuplicate = false ]) : mixed
Parameters
- $ar : mixed
- $checkDuplicate : bool = false
deleteList()
public
static deleteList(array<string|int, mixed> $filter) : Result
Parameters
- $filter : array<string|int, mixed>
Tags
Return values
ResultgetMap()
public
static getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecipientCount()
public
static getRecipientCount(mixed $id[, string $status = '' ]) : int
Parameters
- $id : mixed
- $status : string = ''
Return values
intgetRecipientCountByStatus()
public
static getRecipientCountByStatus(mixed $id[, array<string|int, mixed>|null $customFilter = null ]) : array<string|int, mixed>
Parameters
- $id : mixed
- $customFilter : array<string|int, mixed>|null = null
Tags
Return values
array<string|int, mixed>getRecipientStatusToPostingFieldMap()
public
static getRecipientStatusToPostingFieldMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getSendPercent()
Return send status of posting in percents by posting id.
public
static getSendPercent(mixed $id) : int
Parameters
- $id : mixed
Return values
intgetTableName()
public
static getTableName() : string
Return values
stringinitGroupRecipients()
public
static initGroupRecipients(mixed $postingId[, bool $checkDuplicate = true ]) : bool
Parameters
- $postingId : mixed
- $checkDuplicate : bool = true
Return values
boolonDelete()
public
static onDelete(Event $event) : EventResult
Parameters
- $event : Event