Bitrix API

QueueItem

Table of Contents

Properties

$dateCreate  : DateTime
$dateUpdate  : DateTime
$id  : int
$isFirstInit  : bool
$isLocked  : bool
$pointer  : string
$sourceId  : int|null
$sourceType  : SourceType
$stageType  : StageType
$status  : string
$userId  : int

Methods

__construct()  : mixed
createFirstStep()  : static
createFromRow()  : static
getFields()  : array<string|int, mixed>
lock()  : self
setErrorStatus()  : self
setId()  : self
unlock()  : self
updatePointer()  : self

Properties

$isFirstInit read-only

public bool $isFirstInit

$sourceId read-only

public int|null $sourceId

Methods

__construct()

public __construct(int $id, int $userId, StageType $stageType, SourceType $sourceType, int|null $sourceId, string $pointer, string $status, bool $isLocked, DateTime $dateCreate, DateTime $dateUpdate, bool $isFirstInit) : mixed
Parameters
$id : int
$userId : int
$stageType : StageType
$sourceType : SourceType
$sourceId : int|null
$pointer : string
$status : string
$isLocked : bool
$dateCreate : DateTime
$dateUpdate : DateTime
$isFirstInit : bool

createFirstStep()

public static createFirstStep(int $userId, SourceType $sourceType, int|null $sourceId[, bool $isFirstInit = false ]) : static
Parameters
$userId : int
$sourceType : SourceType
$sourceId : int|null
$isFirstInit : bool = false
Return values
static

createFromRow()

public static createFromRow(array<string|int, mixed> $row) : static
Parameters
$row : array<string|int, mixed>
Return values
static

getFields()

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

lock()

public lock() : self
Return values
self

setErrorStatus()

public setErrorStatus() : self
Return values
self

setId()

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

unlock()

public unlock([bool $withSave = false ]) : self
Parameters
$withSave : bool = false
Return values
self

updatePointer()

public updatePointer(string $pointer[, StageType|null $stage = null ]) : self
Parameters
$pointer : string
$stage : StageType|null = null
Return values
self

        
On this page

Search results