Bitrix24Manager
Class Bitrix24Manager
Required in Biitrix24 context. Provodes information about the license and supported features.
Table of Contents
Methods
- getDealCategoryCount() : int
- Get maximum allowed deal category quantity.
- getDemoLicensePageUrl() : string
- Get URL for "Free 30-day trial" page.
- getLicenseListPageUrl() : string
- Get URL for "Choose a Bitrix24 plan" page.
- getMaxVariable() : int
- Fetch variable with MAX value (for maximal editions)
- getVariable() : mixed|null
- Get variable value.
- hasDemoLicense() : bool
- Check if portal has trial license.
- hasNfrLicense() : bool
- Check if portal has NFR license.
- hasPurchasedDiskSpace() : bool
- Check if portal has paid for extra disk space.
- hasPurchasedLicense() : bool
- Check if portal has paid license.
- hasPurchasedUsers() : bool
- Check if portal has paid for extra users.
- isAccessEnabled() : bool
- Check accessability of entity type according to Bitrix24 restrictions.
- isEnabled() : bool
- Check if current manager enabled.
- isEnterprise() : bool
- Method determines if the installed license is an ENTERPRISE
- isFeatureEnabled() : bool
- Check if specified feature is enabled
- isPaidAccount() : bool
- Check if portal has paid license, paid for extra users, paid for disk space or SIP features.
- isRestBizProcEnabled() : bool
- Check if Business Processes are enabled for REST API.
- isUnlimitedAccess() : bool
- Check if user has unlimited access
- prepareLicenseFeaturePromoterScript() : string
- prepareLicenseInfoHelperScript() : string
- Prepare JavaScript for opening purchaise information by info-helper slider
- prepareLicenseInfoHtml() : string
- Prepare HTML for license purchase information.
- prepareLicenseInfoPopupScript() : string
- Prepare JavaScript for license purchase information.
- prepareStubInfo() : array<string|int, mixed>|null
Methods
getDealCategoryCount()
Get maximum allowed deal category quantity.
public
static getDealCategoryCount() : int
Tags
Return values
intgetDemoLicensePageUrl()
Get URL for "Free 30-day trial" page.
public
static getDemoLicensePageUrl() : string
Tags
Return values
stringgetLicenseListPageUrl()
Get URL for "Choose a Bitrix24 plan" page.
public
static getLicenseListPageUrl() : string
Tags
Return values
stringgetMaxVariable()
Fetch variable with MAX value (for maximal editions)
public
static getMaxVariable(string $name) : int
Parameters
- $name : string
-
Variable name
Return values
intgetVariable()
Get variable value.
public
static getVariable(string $name) : mixed|null
Parameters
- $name : string
-
Name of variable
Return values
mixed|nullhasDemoLicense()
Check if portal has trial license.
public
static hasDemoLicense() : bool
Tags
Return values
boolhasNfrLicense()
Check if portal has NFR license.
public
static hasNfrLicense() : bool
Tags
Return values
boolhasPurchasedDiskSpace()
Check if portal has paid for extra disk space.
public
static hasPurchasedDiskSpace() : bool
Tags
Return values
boolhasPurchasedLicense()
Check if portal has paid license.
public
static hasPurchasedLicense() : bool
Tags
Return values
boolhasPurchasedUsers()
Check if portal has paid for extra users.
public
static hasPurchasedUsers() : bool
Tags
Return values
boolisAccessEnabled()
Check accessability of entity type according to Bitrix24 restrictions.
public
static isAccessEnabled(int $entityTypeID[, int $userID = 0 ]) : bool
Parameters
- $entityTypeID : int
-
Entity type ID.
- $userID : int = 0
-
User ID (if not specified then current user ID will be taken).
Tags
Return values
boolisEnabled()
Check if current manager enabled.
public
static isEnabled() : bool
Return values
boolisEnterprise()
Method determines if the installed license is an ENTERPRISE
public
static isEnterprise() : bool
Return values
boolisFeatureEnabled()
Check if specified feature is enabled
public
static isFeatureEnabled(string $releaseName) : bool
Parameters
- $releaseName : string
-
Name of release.
Return values
boolisPaidAccount()
Check if portal has paid license, paid for extra users, paid for disk space or SIP features.
public
static isPaidAccount() : bool
Return values
boolisRestBizProcEnabled()
Check if Business Processes are enabled for REST API.
public
static isRestBizProcEnabled() : bool
Return values
boolisUnlimitedAccess()
Check if user has unlimited access
public
static isUnlimitedAccess([int $userID = 0 ]) : bool
Parameters
- $userID : int = 0
-
User ID (if not specified then current user ID will be taken).
Tags
Return values
boolprepareLicenseFeaturePromoterScript()
public
static prepareLicenseFeaturePromoterScript(array<string|int, mixed> $params) : string
Parameters
- $params : array<string|int, mixed>
Return values
stringprepareLicenseInfoHelperScript()
Prepare JavaScript for opening purchaise information by info-helper slider
public
static prepareLicenseInfoHelperScript(array<string|int, mixed> $params) : string
Parameters
- $params : array<string|int, mixed>
-
Info-helper params.
Tags
Return values
stringprepareLicenseInfoHtml()
Prepare HTML for license purchase information.
public
static prepareLicenseInfoHtml(array<string|int, mixed> $params) : string
Parameters
- $params : array<string|int, mixed>
-
Popup params.
Tags
Return values
stringprepareLicenseInfoPopupScript()
Prepare JavaScript for license purchase information.
public
static prepareLicenseInfoPopupScript(array<string|int, mixed> $params) : string
Parameters
- $params : array<string|int, mixed>
-
Popup params.
Tags
Return values
stringprepareStubInfo()
public
static prepareStubInfo(array<string|int, mixed> $params) : array<string|int, mixed>|null
Parameters
- $params : array<string|int, mixed>