Table of Contents
Constants
-
COMMON_LIVEFEED
= '**'
-
TYPE_OFF
= 'N'
-
TYPE_ON
= 'Y'
Methods
-
__construct()
: mixed
-
disable()
: Result
-
enable()
: Result
-
get()
: SwitcherInterface
-
getCode()
: string
-
getDefaultCode()
: string
-
getMessage()
: string|null
-
getSpaceId()
: int|null
-
getUserId()
: int
-
getValue()
: string
-
invalidate()
: void
-
isEnabled()
: bool
-
switch()
: Result
COMMON_LIVEFEED
public
mixed
COMMON_LIVEFEED
= '**'
TYPE_OFF
public
mixed
TYPE_OFF
= 'N'
TYPE_ON
public
mixed
TYPE_ON
= 'Y'
__construct()
public
__construct(int $userId, int|null $spaceId, string $code) : mixed
Parameters
-
$userId
: int
-
-
$spaceId
: int|null
-
-
$code
: string
-
disable()
public
disable() : Result
enable()
public
enable() : Result
get()
public
static get(int $userId, int|null $spaceId, string $code) : SwitcherInterface
Parameters
-
$userId
: int
-
-
$spaceId
: int|null
-
-
$code
: string
-
getCode()
public
getCode() : string
getDefaultCode()
public
static getDefaultCode() : string
getMessage()
public
getMessage() : string|null
Return values
string|null
getSpaceId()
public
getSpaceId() : int|null
getUserId()
public
getUserId() : int
getValue()
public
getValue() : string
invalidate()
public
invalidate() : void
isEnabled()
public
isEnabled() : bool
switch()
public
switch() : Result