Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
util.php
1<?php
2
4
6
8
9{
10 public static function checkEmptyParamInteger(&$params, $paramName, $defaultValue): void
11 {
12 ComponentHelper::checkEmptyParamInteger($params, $paramName, $defaultValue);
13 }
14
15 public static function checkEmptyParamString(&$params, $paramName, $defaultValue): void
16 {
17 ComponentHelper::checkEmptyParamString($params, $paramName, $defaultValue);
18 }
19
20 public static function checkUserAuthorized(): bool
21 {
22 global $USER;
23 return (isset($USER) && is_object($USER) ? $USER->isAuthorized() : false);
24 }
25}
static checkEmptyParamString(&$params, $paramName, $defaultValue)
Definition util.php:15
static checkEmptyParamInteger(&$params, $paramName, $defaultValue)
Definition util.php:10
static checkEmptyParamString(&$params, $paramName, $defaultValue)
static checkEmptyParamInteger(&$params, $paramName, $defaultValue)