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
getCount()
public
getCount(FlowQuery $flowQuery) : int
Parameters
- $flowQuery : FlowQuery
Return values
intgetEfficiency()
public
getEfficiency(Flow $flow) : int
Parameters
- $flow : Flow
Return values
intgetFlow()
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
Return values
FlowgetFlowFields()
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
Return values
array<string|int, mixed> —[ flowId => tasksCount ]
getList()
public
getList(FlowQuery $flowQuery) : FlowCollection
Parameters
- $flowQuery : FlowQuery
Tags
Return values
FlowCollectiongetListCount()
public
static getListCount() : int
Return values
intisSameFlowExists()
public
isSameFlowExists(string $name[, int $flowId = 0 ]) : bool
Parameters
- $name : string
- $flowId : int = 0
Tags
Return values
boolpreparePushParamsForActivity()
public
preparePushParamsForActivity(int $flowId, string $newStatus[, string $oldStatus = '' ]) : array<string|int, mixed>
Parameters
- $flowId : int
- $newStatus : string
- $oldStatus : string = ''