Bitrix API

RecentItem implements RestConvertible

Table of Contents

Interfaces

RestConvertible

Methods

getChatId()  : int
getCounter()  : int
getDateLastActivity()  : DateTime|null
getDateUpdate()  : DateTime|null
getDialogId()  : string
getInvited()  : array<string|int, mixed>
getLastReadMessageId()  : int
getMessageId()  : int
getOptions()  : array<string|int, mixed>
getRestEntityName()  : string
Returns the name of the entity that will be used in the rest response
initByEntity()  : self
isPinned()  : bool
isUnread()  : bool
setChatId()  : RecentItem
setCounter()  : RecentItem
setDateLastActivity()  : RecentItem
setDateUpdate()  : RecentItem
setDialogId()  : RecentItem
setInvited()  : RecentItem
setLastReadMessageId()  : RecentItem
setMessageId()  : RecentItem
setOptions()  : RecentItem
setPinned()  : RecentItem
setUnread()  : RecentItem
toRestFormat()  : array<string|int, mixed>|null
Returns an array in JSON like format to return the entity as a rest response.

Methods

getChatId()

public getChatId() : int
Return values
int

getCounter()

public getCounter() : int
Return values
int

getDialogId()

public getDialogId() : string
Return values
string

getInvited()

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

getLastReadMessageId()

public getLastReadMessageId() : int
Return values
int

getMessageId()

public getMessageId() : int
Return values
int

getOptions()

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

getRestEntityName()

Returns the name of the entity that will be used in the rest response

public static getRestEntityName() : string
Return values
string

initByEntity()

public static initByEntity(EO_Recent $entity) : self
Parameters
$entity : EO_Recent
Return values
self

isPinned()

public isPinned() : bool
Return values
bool

isUnread()

public isUnread() : bool
Return values
bool

setInvited()

public setInvited(array<string|int, mixed> $invited) : RecentItem
Parameters
$invited : array<string|int, mixed>
Return values
RecentItem

setLastReadMessageId()

public setLastReadMessageId(int $lastReadMessageId) : RecentItem
Parameters
$lastReadMessageId : int
Return values
RecentItem

setOptions()

public setOptions(array<string|int, mixed> $options) : RecentItem
Parameters
$options : array<string|int, mixed>
Return values
RecentItem

toRestFormat()

Returns an array in JSON like format to return the entity as a rest response.

public toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
$option : array<string|int, mixed> = []
Return values
array<string|int, mixed>|null

        
On this page

Search results