Bitrix API

ScrumLimit extends Limit

Class TaskLimit

Table of Contents

Constants

DEFAULT_LIMIT  = 100
OPTION_LIMIT_KEY  = '_tasks_restrict_limit_b'

Methods

canTurnOnTrial()  : bool
getFeatureId()  : string
getLimitCode()  : string
getLimitLock()  : string
getLimitLockClick()  : string
getSidePanelId()  : string
isFeatureEnabled()  : bool
isFeatureEnabledByTrial()  : bool
isLimitExceeded()  : bool
Checks if limit exceeded
isLimitExist()  : bool
Checks if limit exist
isRelatedWithFeature()  : bool
The method checks whether the transferred feature is related to the current limit.
turnOnTrial()  : void

Constants

DEFAULT_LIMIT

public mixed DEFAULT_LIMIT = 100

OPTION_LIMIT_KEY

public mixed OPTION_LIMIT_KEY = '_tasks_restrict_limit_b'

Methods

canTurnOnTrial()

public static canTurnOnTrial() : bool
Return values
bool

getFeatureId()

public static getFeatureId() : string
Return values
string

getLimitCode()

public static getLimitCode() : string
Return values
string

getLimitLock()

public static getLimitLock(string $featureId[, string|null $bindElement = null ]) : string
Parameters
$featureId : string
$bindElement : string|null = null
Return values
string

getLimitLockClick()

public static getLimitLockClick(string $featureId[, string|null $bindElement = 'this' ][, string|null $analyticsSource = null ]) : string
Parameters
$featureId : string
$bindElement : string|null = 'this'
$analyticsSource : string|null = null
Return values
string

getSidePanelId()

public static getSidePanelId([int $limit = 0 ]) : string
Parameters
$limit : int = 0
Return values
string

isFeatureEnabled()

public static isFeatureEnabled() : bool
Return values
bool

isFeatureEnabledByTrial()

public static isFeatureEnabledByTrial() : bool
Return values
bool

isLimitExceeded()

Checks if limit exceeded

public static isLimitExceeded([int $limit = 0 ]) : bool
Parameters
$limit : int = 0
Tags
throws
ObjectPropertyException
throws
SystemException
Return values
bool

isLimitExist()

Checks if limit exist

public static isLimitExist([int $limit = 0 ]) : bool
Parameters
$limit : int = 0
Return values
bool

isRelatedWithFeature()

The method checks whether the transferred feature is related to the current limit.

public static isRelatedWithFeature(string $featureId) : bool

That is, it is responsible for the operation of the same functionality.

Parameters
$featureId : string

Feature id.

Return values
bool

turnOnTrial()

public static turnOnTrial() : void

        
On this page

Search results