...Человеческий поиск в разработке...
- Модуль: vote
- Путь к файлу: ~/bitrix/modules/vote/lib/uf/voteusertype.php
- Класс: BitrixVoteUfVoteUserType
- Вызов: VoteUserType::getOrCheckUserId
static function getOrCheckUserId($userId = false) { if ($userId === false) { global $USER; if ($USER instanceof CUser) { return $USER->GetID(); } } return intval($userId); }