Bitrix API

CategoryMuteProvider

FinalYes

Table of Contents

Methods

__construct()  : mixed
getByCategoryIds()  : array<int, bool>
b_calendar_open_event_category_muted stores mutes But if category is muted by default, b_calendar_open_event_category_muted stores unmutes
isMuted()  : bool

Methods

__construct()

public __construct([int|null $userId = null ]) : mixed
Parameters
$userId : int|null = null

getByCategoryIds()

b_calendar_open_event_category_muted stores mutes But if category is muted by default, b_calendar_open_event_category_muted stores unmutes

public getByCategoryIds(array<string|int, int> $categoryIds) : array<int, bool>

Category is muted by default if b_calendar_open_event_category_muted stores row with USER_ID=0

Parameters
$categoryIds : array<string|int, int>
Return values
array<int, bool>

isMuted()

public isMuted(int $categoryId) : bool
Parameters
$categoryId : int
Return values
bool

        
On this page

Search results