• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/ui/stepper.php
  • Класс: BitrixDiskUiStepper
  • Вызов: Stepper::getHtml
static function getHtml()
{
	if (BitrixDiskUser::isCurrentUserAdmin())
	{
		$commonSteppers[] = BaseObjectIndex::class;
	}
	$commonSteppers[VolumeCleaner::class . CurrentUser::get()->getId()] = Loc::getMessage('DISK_STEPPER_CLEAN_TRASHCAN');
	$commonSteppers[ExtendedIndex::class] = Loc::getMessage('DISK_STEPPER_EXTENDED_INDEX');

	$htmlBlocks = [];
	foreach ($commonSteppers as $stepper => $title)
	{
		if (is_integer($stepper))
		{
			$stepper = $title;
			$title = null;
		}

		$htmlBlocks[] = BitrixMainUpdateStepper::getHtml([
			'disk'  => $stepper,
		], $title);
	}

	return implode('', $htmlBlocks);
}