Метод tryParseIntegerParameter
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
861–870
~/bitrix/modulestasks/install/components/bitrix/tasks.base/class.php
Исходный код
Сигнатура метода
public static function tryParseIntegerParameter(&$fld, $default = false, $allowZero = false)
Описание
Function reduces input value to integer type, and, if gets null, passes the default value
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fld
|
-
|
-
|
|
$default
|
-
|
false
|
-
|
$allowZero
|
-
|
false
|
-
|