- Модуль: webdav
- Путь к файлу: ~/bitrix/modules/webdav/classes/diskdispatcher.php
- Класс: CWebDavDiskDispatcher
- Вызов: CWebDavDiskDispatcher::processActionInitialize
public function processActionInitialize()
{
$this->enableIgnoreQuotaError();
$userStorageId = $this->getUserStorageId();
$storage = $this->getStorageObject();
$storage->setStorageId($userStorageId);
return $this->sendResponse(array(
'status' => static::STATUS_SUCCESS,
'userId' => (string)$this->getUser()->getID(),
'userStorageId' => $storage->getStringStorageId(),
'pathToUserLib' => $this->getPathToUserLib(),
'pathToDiscuss' => $this->getPathToDiscuss(),
'userStorageExtra' => array(
'iblockId' => (string)$userStorageId['IBLOCK_ID'],
'sectionId'=> (string)$userStorageId['IBLOCK_SECTION_ID'],
),
'isB24' => (bool)IsModuleInstalled('bitrix24'),
'isExtranetUser' => (bool)$this->isExtranetUser(),
'version'=> static::VERSION,
));
}