|
| __construct ($ID, $enabledFailover=true) |
| disableFailOver () |
| isFailoverEnabled () |
| setQueueFlag ($queueFlag=true) |
| getQueueFlag () |
| getBucketArray () |
| getService () |
| __get ($name) |
| Init () |
| RenewToken () |
| CheckSettings (&$arSettings) |
| CreateBucket () |
| GetFileSRC ($arFile, $encoded=true) |
| FileExists ($filePath) |
| DownloadToFile ($arFile, $filePath) |
| SaveFile ($filePath, $arFile) |
| DeleteFile ($filePath, $fileSize=null) |
| FileCopy ($arFile, $filePath) |
| FileRename ($sourcePath, $targetPath, $overwrite=true) |
| ListFiles ($filePath='/', $bRecursive=false, $pageSize=0, $pageMarker='') |
| GetFileInfo ($filePath) |
| GetFileSize ($filePath) |
| CheckFields (&$arFields, $ID) |
| Add ($arFields, $createBucket=true) |
| Delete () |
| Update ($arFields) |
| setHeader ($name, $value) |
| SetFileCounter ($file_size, $file_count) |
| IncFileCounter ($file_size=0.0) |
| DecFileCounter ($file_size=0.0) |
См. определение в файле storage_bucket.php строка 20
◆ __construct()
__construct |
( |
| $ID, |
|
|
| $enabledFailover = true ) |
◆ __get()
◆ Add()
Add |
( |
| $arFields, |
|
|
| $createBucket = true ) |
- Аргументы
-
| array[string]string | $arFields |
bool | $createBucket | |
- Возвращает
- mixed
См. определение в файле storage_bucket.php строка 975
◆ ApplyFileCounter()
◆ CheckFields()
CheckFields |
( |
& | $arFields, |
|
|
| $ID ) |
- Аргументы
-
| array[string]string | $arFields |
int | $ID | |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 665
◆ CheckSettings()
CheckSettings |
( |
& | $arSettings | ) |
|
- Аргументы
-
array[string]string | $arSettings |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 409
◆ ConvertPOST()
- Аргументы
-
array[string][int]string | $arPOST |
- Возвращает
- array[int][string]string
См. определение в файле storage_bucket.php строка 1226
◆ CreateBucket()
◆ DecFileCounter()
DecFileCounter |
( |
| $file_size = 0.0 | ) |
|
◆ Delete()
◆ DeleteFile()
DeleteFile |
( |
| $filePath, |
|
|
| $fileSize = null ) |
◆ disableFailOver()
◆ DownloadToFile()
DownloadToFile |
( |
| $arFile, |
|
|
| $filePath ) |
- Аргументы
-
mixed | $arFile | |
string | $filePath | |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 458
◆ FileCopy()
FileCopy |
( |
| $arFile, |
|
|
| $filePath ) |
- Аргументы
-
mixed | $arFile | |
string | $filePath | |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 528
◆ FileExists()
◆ FileRename()
FileRename |
( |
| $sourcePath, |
|
|
| $targetPath, |
|
|
| $overwrite = true ) |
- Аргументы
-
string | $sourcePath | |
string | $targetPath | |
bool | $overwrite | |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 557
◆ GetActualBucketId()
◆ GetAllBuckets()
◆ getBucketArray()
◆ GetFileInfo()
◆ GetFileSize()
◆ GetFileSRC()
GetFileSRC |
( |
| $arFile, |
|
|
| $encoded = true ) |
- Аргументы
-
mixed | $arFile | |
bool | $encoded | |
- Возвращает
- string
См. определение в файле storage_bucket.php строка 427
◆ GetList()
GetList |
( |
| $arOrder = [], |
|
|
| $arFilter = [], |
|
|
| $arSelect = [] ) |
|
static |
- Аргументы
-
array[string]string | $arOrder |
array[string]string | $arFilter |
array[string]string | $arSelect |
- Возвращает
- CDBResult
См. определение в файле storage_bucket.php строка 791
◆ getQueueFlag()
◆ getService()
◆ IncFileCounter()
IncFileCounter |
( |
| $file_size = 0.0 | ) |
|
◆ Init()
◆ isFailoverEnabled()
◆ ListFiles()
ListFiles |
( |
| $filePath = '/', |
|
|
| $bRecursive = false, |
|
|
| $pageSize = 0, |
|
|
| $pageMarker = '' ) |
- Аргументы
-
string | $filePath | |
bool | $bRecursive | |
int | $pageSize | |
string | $pageMarker | |
- Возвращает
- array[string][int]string
См. определение в файле storage_bucket.php строка 582
◆ RenewToken()
◆ SaveFile()
SaveFile |
( |
| $filePath, |
|
|
| $arFile ) |
- Аргументы
-
string | $filePath | |
mixed | $arFile | |
- Возвращает
- bool
См. определение в файле storage_bucket.php строка 469
◆ SetFileCounter()
SetFileCounter |
( |
| $file_size, |
|
|
| $file_count ) |
◆ setHeader()
setHeader |
( |
| $name, |
|
|
| $value ) |
◆ setQueueFlag()
setQueueFlag |
( |
| $queueFlag = true | ) |
|
◆ Update()
◆ $_ID
◆ $applyFileCounterJobAdded
$applyFileCounterJobAdded = false |
|
staticprotected |
◆ $arBucket
◆ $arBuckets
◆ $enabledFailover
◆ $failoverBucket
◆ $queueFlag
◆ $service
Объявления и описания членов класса находятся в файле: