• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/component.php
  • Класс: CBitrixComponent
  • Вызов: CBitrixComponent::randString
public function randString($length = 6)
{
	if (!$this->randomSequence)
	{
		$seed = $this->__name."|".self::$__componentCounter[$this->__name];
		$this->randomSequence = new BitrixMainTypeRandomSequence($seed);
	}
	return $this->randomSequence->randString($length);
}