Bitrix API

Queue

Table of Contents

Methods

add()  : void
done()  : void
get()  : array<string|int, mixed>
getInstance()  : mixed
isInQueue()  : bool

Methods

add()

public add(int $userId, string $type, array<string|int, mixed> $tasks) : void
Parameters
$userId : int
$type : string
$tasks : array<string|int, mixed>
Tags
throws
SqlQueryException

done()

public done() : void
Tags
throws
SqlQueryException

get()

public get(int $limit) : array<string|int, mixed>
Parameters
$limit : int
Tags
throws
SqlQueryException
Return values
array<string|int, mixed>

getInstance()

public static getInstance() : mixed

isInQueue()

public static isInQueue(int $userId) : bool
Parameters
$userId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
bool

        
On this page

Search results