• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/controller/export.php
  • Класс: BitrixMainControllerExport
  • Вызов: Export::instanceBucket
protected function instanceBucket()
{
	if (!($this->bucket instanceof CCloudStorageBucket))
	{
		if ($this->bucketId > 0)
		{
			$this->bucket = new CCloudStorageBucket($this->bucketId);
			$this->bucket->init();
		}
	}

	return $this->bucket;
}