Bitrix API

Status extends Status

FinalYes

Table of Contents

Constants

COMPLETED  = 5
DECLINED  = 7
DEFERRED  = 6
FLOW_AT_WORK  = 'AT_WORK'
FLOW_COMPLETED  = 'COMPLETED'
FLOW_PENDING  = 'PENDING'
IN_PROGRESS  = 3
NEW  = 1
PENDING  = 2
STATUS_MAP  = [self::FLOW_PENDING => [self::NEW, self::PENDING], self::FLOW_AT_WORK => [self::IN_PROGRESS], self::FLOW_COMPLETED => [self::SUPPOSEDLY_COMPLETED, self::COMPLETED]]
STATUSES_CHANGING_ACTIVITY  = [self::PENDING, self::IN_PROGRESS, self::SUPPOSEDLY_COMPLETED, self::DEFERRED, self::COMPLETED]
SUPPOSEDLY_COMPLETED  = 4

Methods

getAll()  : array<string|int, mixed>
getFlowStatus()  : string
getMessage()  : string|null
getTitle()  : string|null

Constants

COMPLETED

public mixed COMPLETED = 5

DECLINED

public mixed DECLINED = 7

DEFERRED

public mixed DEFERRED = 6

FLOW_AT_WORK

public mixed FLOW_AT_WORK = 'AT_WORK'

FLOW_COMPLETED

public mixed FLOW_COMPLETED = 'COMPLETED'

FLOW_PENDING

public mixed FLOW_PENDING = 'PENDING'

IN_PROGRESS

public mixed IN_PROGRESS = 3

PENDING

public mixed PENDING = 2

STATUS_MAP

public mixed STATUS_MAP = [self::FLOW_PENDING => [self::NEW, self::PENDING], self::FLOW_AT_WORK => [self::IN_PROGRESS], self::FLOW_COMPLETED => [self::SUPPOSEDLY_COMPLETED, self::COMPLETED]]

STATUSES_CHANGING_ACTIVITY

public mixed STATUSES_CHANGING_ACTIVITY = [self::PENDING, self::IN_PROGRESS, self::SUPPOSEDLY_COMPLETED, self::DEFERRED, self::COMPLETED]

SUPPOSEDLY_COMPLETED

public mixed SUPPOSEDLY_COMPLETED = 4

Methods

getAll()

public static getAll([bool $asStrings = false ]) : array<string|int, mixed>
Parameters
$asStrings : bool = false
Return values
array<string|int, mixed>

getFlowStatus()

public static getFlowStatus(int $taskStatus) : string
Parameters
$taskStatus : int
Return values
string

getMessage()

public static getMessage(int $status) : string|null
Parameters
$status : int
Return values
string|null

getTitle()

public static getTitle() : string|null
Return values
string|null

        
On this page

Search results