• Модуль: clouds
  • Путь к файлу: ~/bitrix/modules/clouds/classes/general/storage.php
  • Класс: CCloudStorage
  • Вызов: CCloudStorage::_init
static function _init()
{
	if (!isset(self::$_services))
	{
		$obService = /*.(CCloudStorageService).*/
			null;
		self::$_services = /*.(array[string]CCloudStorageService).*/
			array();
		foreach (GetModuleEvents("clouds", "OnGetStorageService", true) as $arEvent)
		{
			$obService = ExecuteModuleEventEx($arEvent);
			if (is_object($obService))
				self::$_services[$obService->GetID()] = $obService;
		}
	}
}