Bitrix API

Follow extends AbstractSwitcher

Table of Contents

Constants

SOCIALNETWORK_GROUP  = 'SG'
TYPE_OFF  = 'N'
TYPE_ON  = 'Y'

Methods

__construct()  : mixed
disable()  : Result
enable()  : Result
get()  : SwitcherInterface
getCode()  : string
getDefaultCode()  : string
getFollowedMessage()  : string|null
getMessage()  : string|null
getSpaceId()  : int|null
getUnfollowedMessage()  : string|null
getUserId()  : int
getValue()  : string
invalidate()  : void
isEnabled()  : bool
switch()  : Result

Constants

SOCIALNETWORK_GROUP

public mixed SOCIALNETWORK_GROUP = 'SG'

Methods

__construct()

public __construct(int $userId, int|null $spaceId, string $code) : mixed
Parameters
$userId : int
$spaceId : int|null
$code : string

disable()

public disable() : Result
Return values
Result

enable()

public enable() : Result
Return values
Result

getCode()

public getCode() : string
Return values
string

getDefaultCode()

public static getDefaultCode() : string
Return values
string

getFollowedMessage()

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

getMessage()

public getMessage() : string|null
Return values
string|null

getUnfollowedMessage()

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

getValue()

public getValue() : string
Return values
string

        
On this page

Search results