Bitrix API

QueueItem implements RestEntity

Table of Contents

Interfaces

RestEntity

Methods

getId()  : int|null
Returns the id of the entity
getName()  : string|null
getRestEntityName()  : string
Returns the name of the entity that will be used in the rest response
getType()  : string|null
isActive()  : bool|null
setId()  : self
setIsActive()  : self
setName()  : self
setType()  : self
toRestFormat()  : array<string|int, mixed>|null
Returns an array in JSON like format to return the entity as a rest response.

Methods

getId()

Returns the id of the entity

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

getName()

public getName() : string|null
Return values
string|null

getRestEntityName()

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

public static getRestEntityName() : string
Return values
string

getType()

public getType() : string|null
Return values
string|null

isActive()

public isActive() : bool|null
Return values
bool|null

setId()

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

setIsActive()

public setIsActive(bool $isActive) : self
Parameters
$isActive : bool
Return values
self

setName()

public setName(string $name) : self
Parameters
$name : string
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

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