Context
Table of Contents
Constants
-
SCOPE_AI
= 'ai'
-
SCOPE_AUTOMATION
= 'automation'
-
SCOPE_MANUAL
= 'manual'
-
SCOPE_REST
= 'rest'
-
SCOPE_TASK
= 'task'
Methods
-
__construct()
: mixed
-
getEventId()
: string|null
-
getItemOption()
: mixed|null
-
getItemOptions()
: array<string|int, mixed>
-
getScope()
: string
-
getUserId()
: int
-
setEventId()
: Context
-
setItemOption()
: Context
-
setItemOptions()
: Context
-
setScope()
: Context
-
setUserId()
: Context
SCOPE_AI
public
mixed
SCOPE_AI
= 'ai'
SCOPE_AUTOMATION
public
mixed
SCOPE_AUTOMATION
= 'automation'
SCOPE_MANUAL
public
mixed
SCOPE_MANUAL
= 'manual'
SCOPE_REST
public
mixed
SCOPE_REST
= 'rest'
SCOPE_TASK
public
mixed
SCOPE_TASK
= 'task'
__construct()
public
__construct([array<string|int, mixed> $params = [] ]) : mixed
Parameters
-
$params
: array<string|int, mixed>
= []
-
getEventId()
public
getEventId() : string|null
Return values
string|null
getItemOption()
public
getItemOption(string $optionName) : mixed|null
Parameters
-
$optionName
: string
-
getItemOptions()
public
getItemOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>
getScope()
public
getScope() : string
getUserId()
public
getUserId() : int
setEventId()
public
setEventId(string|null $eventId) : Context
Parameters
-
$eventId
: string|null
-
setItemOption()
public
setItemOption(string $optionName, mixed $value) : Context
Parameters
-
$optionName
: string
-
-
$value
: mixed
-
setItemOptions()
public
setItemOptions(array<string|int, mixed> $itemOptions) : Context
Parameters
-
$itemOptions
: array<string|int, mixed>
-
setScope()
public
setScope(string $scope) : Context
Parameters
-
$scope
: string
-
setUserId()
public
setUserId(int $userId) : Context
Parameters
-
$userId
: int
-