Bitrix API

Manager

Table of Contents

Constants

ERROR_DEBUGGER_ALREADY_STARTED  = 'DEBUGGER IS ALREADY STARTED'
ERROR_INCORRECT_MODE  = 'INCORRECT DEBUGGER MODE'

Methods

canStartSession()  : bool
canUserDebugAutomation()  : bool
canUserStartSession()  : bool
deleteInactiveSession()  : Result
finishSession()  : mixed
getActiveSession()  : Session|null
getCachedSession()  : Session|null
getDebuggerState()  : DebuggerState
getSessionById()  : Session|null
isDebugWorkflow()  : bool
setDebuggerState()  : mixed
startSession()  : mixed

Constants

ERROR_DEBUGGER_ALREADY_STARTED

public mixed ERROR_DEBUGGER_ALREADY_STARTED = 'DEBUGGER IS ALREADY STARTED'

ERROR_INCORRECT_MODE

public mixed ERROR_INCORRECT_MODE = 'INCORRECT DEBUGGER MODE'

Methods

canStartSession()

public static canStartSession() : bool
Return values
bool

canUserDebugAutomation()

public static canUserDebugAutomation(int $userId, array<string|int, mixed> $parameterDocumentType) : bool
Parameters
$userId : int
$parameterDocumentType : array<string|int, mixed>
Return values
bool

canUserStartSession()

public static canUserStartSession(int $userId, array<string|int, mixed> $parameterDocumentType) : bool
Parameters
$userId : int
$parameterDocumentType : array<string|int, mixed>
Return values
bool

deleteInactiveSession()

public static deleteInactiveSession(string $sessionId) : Result
Parameters
$sessionId : string
Return values
Result

getSessionById()

public static getSessionById(string $sessionId) : Session|null
Parameters
$sessionId : string
Return values
Session|null

isDebugWorkflow()

public static isDebugWorkflow(string $workflowId) : bool
Parameters
$workflowId : string
Return values
bool

startSession()

public static startSession(array<string|int, mixed> $parameterDocumentType, int $mode, int $userId[, int $categoryId = 0 ]) : mixed
Parameters
$parameterDocumentType : array<string|int, mixed>
$mode : int
$userId : int
$categoryId : int = 0

        
On this page

Search results