Bitrix24Manager
Class Bitrix24Manager
Required in Bitrix24 context. Provides information about the license and supported features.
Table of Contents
Constants
- EVENT_AMOUNT = "event_with_planner_amount"
Methods
- getEventsAmount() : int
- Returns events amount
- getEventWithPlannerLimit() : int
- Check if specified feature is enabled
- getVariable() : mixed|null
- Get variable value.
- increaseEventsAmount() : void
- Increase events amount
- isEnabled() : bool
- Check if current manager enabled.
- isFeatureEnabled() : bool
- Check if specified feature is enabled
- isPlannerFeatureEnabled() : bool
- Check if "planner" feature is enabled
- isPromoFeatureEnabled() : bool
- Check if specified feature is promo for current tariff
- setEventsAmount() : void
- Sets events amount
Constants
EVENT_AMOUNT
public
mixed
EVENT_AMOUNT
= "event_with_planner_amount"
Methods
getEventsAmount()
Returns events amount
public
static getEventsAmount() : int
Return values
intgetEventWithPlannerLimit()
Check if specified feature is enabled
public
static getEventWithPlannerLimit() : int
Tags
Return values
intgetVariable()
Get variable value.
public
static getVariable(string $name) : mixed|null
Parameters
- $name : string
-
Name of variable
Tags
Return values
mixed|nullincreaseEventsAmount()
Increase events amount
public
static increaseEventsAmount() : void
Tags
isEnabled()
Check if current manager enabled.
public
static isEnabled() : bool
Return values
boolisFeatureEnabled()
Check if specified feature is enabled
public
static isFeatureEnabled(string $featureId) : bool
Parameters
- $featureId : string
-
Name of feature
Tags
Return values
boolisPlannerFeatureEnabled()
Check if "planner" feature is enabled
public
static isPlannerFeatureEnabled() : bool
Tags
Return values
boolisPromoFeatureEnabled()
Check if specified feature is promo for current tariff
public
static isPromoFeatureEnabled(mixed $featureId) : bool
Parameters
- $featureId : mixed
Tags
Return values
boolsetEventsAmount()
Sets events amount
public
static setEventsAmount([int $value = 0 ]) : void
Parameters
- $value : int = 0
-
amount of events