uawdijnntqw1x1x1
IP : 216.73.217.167
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
bitrix
/
modules
/
.
/
main
/
.
/
lib
/
.
/
grid
/
params.php
/
/
<? namespace Bitrix\Main\Grid; class Params { /** * Gets first a Boolean value from $values or gets a default value * @param array $values * @param $defaultValue * * @return bool|* */ public static function prepareBoolean(array $values = array(), $defaultValue) { $value = $defaultValue; foreach ($values as $key => $item) { if (is_bool($item)) { $value = $item; break; } } return $value; } /** * Gets first a String value from $values or gets a default value * @param array $values * @param $defaultValue * * @return string|* */ public static function prepareString(array $values = array(), $defaultValue) { $value = $defaultValue; foreach ($values as $key => $item) { if (is_string($item)) { $value = $item; break; } } return $value; } /** * Gets first a Array value from $values or gets a default value * @param array $values * @param $defaultValue * * @return array|* */ public static function prepareArray(array $values = array(), $defaultValue) { $value = $defaultValue; foreach ($values as $key => $item) { if (is_array($item)) { $value = $item; break; } } return $value; } /** * Gets first a Integer value from $values or gets a default value * @param array $values * @param $defaultValue * * @return int|string */ public static function prepareInt(array $values = array(), $defaultValue) { $value = $defaultValue; foreach ($values as $key => $item) { if (is_numeric($item)) { $value = $item; break; } } return $value; } public static function ensureString(array $params, $name) { return isset($params[$name]) && is_string($params[$name]); } public static function ensureNotEmptyString(array $params, $name) { return isset($params[$name]) && is_string($params[$name]) && $params[$name] !== ""; } public static function ensureArray(array $params, $name) { return isset($params[$name]) && is_array($params[$name]); } public static function ensureNotEmptyArray(array $params, $name) { return isset($params[$name]) && is_array($params[$name]) && !empty($params[$name]); } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/bitrix/modules/./main/./lib/./grid/params.php