Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Rating

Открытые статические члены

static regulate ()
 
static calculate ()
 
static upgrade ()
 
static downgrade ($isNotify=true)
 
static block ()
 
static isBlocked ()
 
static getDownRate ()
 
static getBlockRate ()
 
static getInitialLimit ()
 
static getMaxLimit ()
 
static getLimitMultiplier ()
 
static getNotifyText ($code)
 

Защищенные статические члены

static getRatio ($daysLeft=0)
 
static getParam ($name, $defaultValue=0)
 
static setParam ($name, $value)
 

Статические защищенные данные

static $base = 1000
 

Подробное описание

См. определение в файле rating.php строка 27

Методы

◆ block()

static block ( )
static

Block.

Возвращает
void

См. определение в файле rating.php строка 142

◆ calculate()

static calculate ( )
static

Calculate.

Возвращает
void

См. определение в файле rating.php строка 51

◆ downgrade()

static downgrade ( $isNotify = true)
static

Downgrade.

Аргументы
bool$isNotifyIs notify.
Возвращает
void

См. определение в файле rating.php строка 124

◆ getBlockRate()

static getBlockRate ( )
static

Get downgrade rate.

Возвращает
float

См. определение в файле rating.php строка 210

◆ getDownRate()

static getDownRate ( )
static

Get downgrade rate.

Возвращает
float

См. определение в файле rating.php строка 200

◆ getInitialLimit()

static getInitialLimit ( )
static

Get initial limit.

Возвращает
int

См. определение в файле rating.php строка 221

◆ getLimitMultiplier()

static getLimitMultiplier ( )
static

Get limit multiplier.

Возвращает
float

См. определение в файле rating.php строка 241

◆ getMaxLimit()

static getMaxLimit ( )
static

Get max limit.

Возвращает
float

См. определение в файле rating.php строка 231

◆ getNotifyText()

static getNotifyText ( $code)
static

Set notify text.

Аргументы
string$codeCode.
Возвращает
string

См. определение в файле rating.php строка 295

◆ getParam()

static getParam ( $name,
$defaultValue = 0 )
staticprotected

Get parameter.

Аргументы
string$nameName.
mixed$defaultValueDefault value.
Возвращает
mixed

См. определение в файле rating.php строка 272

◆ getRatio()

static getRatio ( $daysLeft = 0)
staticprotected

Get ratio.

Аргументы
integer$daysLeftDays left.
Возвращает
float

См. определение в файле rating.php строка 252

◆ isBlocked()

static isBlocked ( )
static

Is blocked.

Возвращает
bool

См. определение в файле rating.php строка 190

◆ regulate()

static regulate ( )
static

Regulate: downgrade or block.

Возвращает
void

См. определение в файле rating.php строка 37

◆ setParam()

static setParam ( $name,
$value )
staticprotected

Set parameter.

Аргументы
string$nameName.
mixed$valueValue.
Возвращает
void

См. определение в файле rating.php строка 284

◆ upgrade()

static upgrade ( )
static

Upgrade.

Возвращает
void

См. определение в файле rating.php строка 100

Данные класса

◆ $base

$base = 1000
staticprotected

См. определение в файле rating.php строка 30