• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/security/random.php
  • Класс: BitrixMainSecurityRandom
  • Вызов: Random::getCharsetsForAlphabet
static function getCharsetsForAlphabet($alphabet)
{
	$result = [];
	foreach (static::$alphabet as $mask => $value)
	{
		if ($alphabet & $mask)
		{
			$result[] = $value;
		}
	}

	return $result;
}