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
floatgetDownRate()
Get downgrade rate.
public
static getDownRate() : float
Return values
floatgetInitialLimit()
Get initial limit.
public
static getInitialLimit() : int
Return values
intgetLimitMultiplier()
Get limit multiplier.
public
static getLimitMultiplier() : float
Return values
floatgetMaxLimit()
Get max limit.
public
static getMaxLimit() : float
Return values
floatgetNotifyText()
Set notify text.
public
static getNotifyText(string $code) : string
Parameters
- $code : string
-
Code.
Return values
stringisBlocked()
Is blocked.
public
static isBlocked() : bool
Return values
boolregulate()
Regulate: downgrade or block.
public
static regulate() : void
upgrade()
Upgrade.
public
static upgrade() : void