Bitrix API

Item implements Arrayable

Table of Contents

Interfaces

Arrayable

Constants

STATUS_ACTIVE  = 'ACTIVE'
STATUS_DELETED  = 'DELETED'
STATUS_SYNC  = 'SYNC'

Methods

__construct()  : mixed
getCaption()  : Caption
getChannel()  : string
getId()  : int|null
getIntegrationId()  : int|null
getMessage()  : Message
getRecipients()  : array<string|int, mixed>
getTranslatedMessage()  : string
getWhen()  : When
getWhere()  : Where
isEqual()  : bool
setId()  : self
setIntegrationId()  : self
toArray()  : array<string|int, mixed>
toObject()  : Item|null

Constants

STATUS_ACTIVE

public mixed STATUS_ACTIVE = 'ACTIVE'

STATUS_DELETED

public mixed STATUS_DELETED = 'DELETED'

STATUS_SYNC

public mixed STATUS_SYNC = 'SYNC'

Methods

__construct()

public __construct(Caption $caption, Message $message, When $when, Where $where, array<string|int, mixed> $recipients[, int|null $id = null ][, int|null $integrationId = null ]) : mixed
Parameters
$caption : Caption
$message : Message
$when : When
$where : Where
$recipients : array<string|int, mixed>
$id : int|null = null
$integrationId : int|null = null

getChannel()

public getChannel() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null

getIntegrationId()

public getIntegrationId() : int|null
Return values
int|null

getRecipients()

public getRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTranslatedMessage()

public getTranslatedMessage() : string
Return values
string

isEqual()

public isEqual(Item $item) : bool
Parameters
$item : Item
Return values
bool

setId()

public setId(int|null $id) : self
Parameters
$id : int|null
Return values
self

setIntegrationId()

public setIntegrationId(int|null $integrationId) : self
Parameters
$integrationId : int|null
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

toObject()

public static toObject(array<string|int, mixed> $item) : Item|null
Parameters
$item : array<string|int, mixed>
Return values
Item|null

        
On this page

Search results