Bitrix24Manager
Table of Contents
Methods
- checkAccessEnabled() : mixed
- filterJsAction() : mixed
- getFeatureRestrictionMap() : array<string|int, mixed>
- getFeatureVariable() : mixed
- getTrialEditionInfo() : array<string|int, mixed>|null
- getTrialFeatureInfo() : array<string|int, mixed>|null
- initLicenseInfoPopupJS() : mixed
- Init javascript license popup.
- isAccessEnabled() : bool
- Tells if user has access to entity by different restriction on B24.
- isEnabled() : bool
- Tells if module bitrix24 is installed.
- isFeatureEnabled() : bool
- isFeatureTrialable() : bool
- isLicensePaid() : bool
- Returns true if tariff for this portal is not free.
- isUserRestricted() : bool
Methods
checkAccessEnabled()
public
static checkAccessEnabled(mixed $entityType, mixed $userId) : mixed
Parameters
- $entityType : mixed
- $userId : mixed
filterJsAction()
public
static filterJsAction(mixed $feature, mixed $jsAction[, mixed $skip = false ]) : mixed
Parameters
- $feature : mixed
- $jsAction : mixed
- $skip : mixed = false
getFeatureRestrictionMap()
public
static getFeatureRestrictionMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getFeatureVariable()
public
static getFeatureVariable(mixed $feature) : mixed
Parameters
- $feature : mixed
getTrialEditionInfo()
public
static getTrialEditionInfo() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetTrialFeatureInfo()
public
static getTrialFeatureInfo(mixed $feature) : array<string|int, mixed>|null
Parameters
- $feature : mixed
Return values
array<string|int, mixed>|nullinitLicenseInfoPopupJS()
Init javascript license popup.
public
static initLicenseInfoPopupJS([string $featureGroupName = "" ]) : mixed
Parameters
- $featureGroupName : string = ""
isAccessEnabled()
Tells if user has access to entity by different restriction on B24.
public
static isAccessEnabled(string $entityType, int $userId) : bool
Parameters
- $entityType : string
-
Entity type.
- $userId : int
-
User id.
Tags
Return values
boolisEnabled()
Tells if module bitrix24 is installed.
public
static isEnabled() : bool
Return values
boolisFeatureEnabled()
public
static isFeatureEnabled(mixed $feature) : bool
Parameters
- $feature : mixed
Tags
Return values
boolisFeatureTrialable()
public
static isFeatureTrialable(mixed $feature) : bool
Parameters
- $feature : mixed
Return values
boolisLicensePaid()
Returns true if tariff for this portal is not free.
public
static isLicensePaid() : bool
Return values
boolisUserRestricted()
public
static isUserRestricted(int $userId) : bool
Parameters
- $userId : int