Bitrix API

Rating

Class Rating

Table of Contents

Methods

block()  : void
Block.
calculate()  : void
Calculate.
downgrade()  : void
Downgrade.
getBlockRate()  : float
Get downgrade rate.
getDownRate()  : float
Get downgrade rate.
getInitialLimit()  : int
Get initial limit.
getLimitMultiplier()  : float
Get limit multiplier.
getMaxLimit()  : float
Get max limit.
getNotifyText()  : string
Set notify text.
isBlocked()  : bool
Is blocked.
regulate()  : void
Regulate: downgrade or block.
upgrade()  : void
Upgrade.

Methods

block()

Block.

public static block() : void

calculate()

Calculate.

public static calculate() : void

downgrade()

Downgrade.

public static downgrade([bool $isNotify = true ]) : void
Parameters
$isNotify : bool = true

Is notify.

getBlockRate()

Get downgrade rate.

public static getBlockRate() : float
Return values
float

getDownRate()

Get downgrade rate.

public static getDownRate() : float
Return values
float

getInitialLimit()

Get initial limit.

public static getInitialLimit() : int
Return values
int

getLimitMultiplier()

Get limit multiplier.

public static getLimitMultiplier() : float
Return values
float

getMaxLimit()

Get max limit.

public static getMaxLimit() : float
Return values
float

getNotifyText()

Set notify text.

public static getNotifyText(string $code) : string
Parameters
$code : string

Code.

Return values
string

isBlocked()

Is blocked.

public static isBlocked() : bool
Return values
bool

regulate()

Regulate: downgrade or block.

public static regulate() : void

upgrade()

Upgrade.

public static upgrade() : void

        
On this page

Search results