• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/numerator/model/numerator.php
  • Класс: BitrixMainNumeratorModelNumeratorTable
  • Вызов: NumeratorTable::getCurrentUserId
static function getCurrentUserId()
{
	global $USER;
	$userId = 0;
	if ($USER && is_object($USER) && $USER->isAuthorized())
	{
		$userId = $USER->getID();
	}
	return $userId;
}