• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/uf/controller.php
  • Класс: BitrixDiskUfController
  • Вызов: Controller::getCommonStorages
protected function getCommonStorages()
{
	$conditionTree = BitrixMainORMQueryQuery::filter();
	$conditionTree
		->where('STORAGE.ENTITY_TYPE', ProxyTypeCommon::class)
		->where('STORAGE.SITE_ID', SITE_ID)
	;

	return Storage::getReadableList($this->getSecurityContextByUser($this->getUser()), ['filter' => $conditionTree]);
}