Bitrix API

FlowProvider

FinalYes

Table of Contents

Methods

getCount()  : int
getEfficiency()  : int
getFlow()  : Flow
getFlowFields()  : array<string|int, mixed>
getFlowTasksCount()  : array<string|int, mixed>
getList()  : FlowCollection
getListCount()  : int
isSameFlowExists()  : bool
preparePushParamsForActivity()  : array<string|int, mixed>

Methods

getEfficiency()

public getEfficiency(Flow $flow) : int
Parameters
$flow : Flow
Return values
int

getFlow()

public getFlow(int $flowId[, array<string|int, mixed> $select = FlowRegistry::DEFAULT_SELECT ]) : Flow
Parameters
$flowId : int
$select : array<string|int, mixed> = FlowRegistry::DEFAULT_SELECT
Tags
throws
FlowNotFoundException
Return values
Flow

getFlowFields()

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

getFlowTasksCount()

public getFlowTasksCount(int $userId, array<string|int, mixed> $statuses, int ...$flowIds) : array<string|int, mixed>
Parameters
$userId : int
$statuses : array<string|int, mixed>
$flowIds : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

[ flowId => tasksCount ]

getListCount()

public static getListCount() : int
Return values
int

isSameFlowExists()

public isSameFlowExists(string $name[, int $flowId = 0 ]) : bool
Parameters
$name : string
$flowId : int = 0
Tags
throws
ProviderException
Return values
bool

preparePushParamsForActivity()

public preparePushParamsForActivity(int $flowId, string $newStatus[, string $oldStatus = '' ]) : array<string|int, mixed>
Parameters
$flowId : int
$newStatus : string
$oldStatus : string = ''
Return values
array<string|int, mixed>

        
On this page

Search results