DiskHelper
Table of Contents
Constants
- ROOT_FOLDER_CODE = "ZOOM_RECORDS"
Methods
- createRootFolderAccessCodes() : mixed
- getRecordsFolder() : mixed
- getRootFolder() : mixed
- getRootFolderName() : string
- getStorageModel() : Storage|null
- saveFile() : Result
Constants
ROOT_FOLDER_CODE
public
mixed
ROOT_FOLDER_CODE
= "ZOOM_RECORDS"
Methods
createRootFolderAccessCodes()
public
static createRootFolderAccessCodes(Storage $storageModel) : mixed
Parameters
- $storageModel : Storage
getRecordsFolder()
public
static getRecordsFolder(mixed $folderName[, mixed $siteId = SITE_ID ]) : mixed
Parameters
- $folderName : mixed
- $siteId : mixed = SITE_ID
getRootFolder()
public
static getRootFolder([mixed $siteId = SITE_ID ]) : mixed
Parameters
- $siteId : mixed = SITE_ID
getRootFolderName()
public
static getRootFolderName(mixed $siteId) : string
Parameters
- $siteId : mixed
Return values
stringgetStorageModel()
public
static getStorageModel([string $siteId = SITE_ID ]) : Storage|null
Parameters
- $siteId : string = SITE_ID
Tags
Return values
Storage|nullsaveFile()
public
static saveFile(array<string|int, mixed> $arFile, int $userId[, mixed $siteId = SITE_ID ]) : Result
Parameters
- $arFile : array<string|int, mixed>
- $userId : int
- $siteId : mixed = SITE_ID