• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/classes/general/vi_user.php
  • Класс: CVoxImplantUser
  • Вызов: CVoxImplantUser::canUseLine
static function canUseLine($userId, $lineSearchId)
{
	if(!BitrixVoximplantLimits::canSelectLine())
		return true;

	$allowedLines = self::getAllowedLines($userId);
	return in_array($lineSearchId, $allowedLines);
}