Bitrix API

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
throws
ArgumentException
throws
SqlQueryException
throws
SystemException
Return values
Result

getMap()

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
int

getRecipientCountByStatus()

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
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
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
int

getTableName()

public static getTableName() : string
Return values
string

initGroupRecipients()

public static initGroupRecipients(mixed $postingId[, bool $checkDuplicate = true ]) : bool
Parameters
$postingId : mixed
$checkDuplicate : bool = true
Return values
bool

onDelete()

public static onDelete(Event $event) : EventResult
Parameters
$event : Event
Tags
throws
ArgumentException
Return values
EventResult

        
On this page

Search results