Bitrix API

Knowledge

Table of Contents

Methods

isAllowedInGroup()  : bool
Checks restriction for Knowledge in Group / Project.
isViewAllowed()  : bool
Checks restriction for accessing to view knowledge base.

Methods

isAllowedInGroup()

Checks restriction for Knowledge in Group / Project.

public static isAllowedInGroup() : bool
Return values
bool

isViewAllowed()

Checks restriction for accessing to view knowledge base.

public static isViewAllowed(string $code, array<string|int, mixed> $params) : bool
Parameters
$code : string

Restriction code (not used here).

$params : array<string|int, mixed>

Additional params.

Return values
bool

        
On this page

Search results