1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CCloudStorageBucket
Граф наследования:CCloudStorageBucket:
CBitrixCloudBackupBucket

Открытые члены

 __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)

Открытые статические члены

static GetAllBuckets ()
static GetList ($arOrder=[], $arFilter=[], $arSelect=[])
static ConvertPOST ($arPOST)
static ApplyFileCounter ()

Защищенные члены

 GetActualBucketId ()

Защищенные данные

 $_ID = 0
 $arBucket
 $enabledFailover = true
 $failoverBucket
 $queueFlag = true
 $service

Статические защищенные данные

static $arBuckets
static $applyFileCounterJobAdded = false

Подробное описание

См. определение в файле storage_bucket.php строка 20

Конструктор(ы)

◆ __construct()

__construct ( $ID,
$enabledFailover = true )
Аргументы
int$ID
bool$enabledFailover

См. определение в файле storage_bucket.php строка 35

Методы

◆ __get()

__get ( $name)
Аргументы
string$name
Возвращает
mixed

См. определение в файле storage_bucket.php строка 332

◆ Add()

Add ( $arFields,
$createBucket = true )
Аргументы
array[string]string$arFields
bool$createBucket
Возвращает
mixed

См. определение в файле storage_bucket.php строка 975

◆ ApplyFileCounter()

ApplyFileCounter ( )
static
Возвращает
void

См. определение в файле storage_bucket.php строка 1360

◆ 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()

ConvertPOST ( $arPOST)
static
Аргументы
array[string][int]string$arPOST
Возвращает
array[int][string]string

См. определение в файле storage_bucket.php строка 1226

◆ CreateBucket()

CreateBucket ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 417

◆ DecFileCounter()

DecFileCounter ( $file_size = 0.0)
Аргументы
float$file_size
Возвращает
CDBResult

См. определение в файле storage_bucket.php строка 1334

◆ Delete()

Delete ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 1053

◆ DeleteFile()

DeleteFile ( $filePath,
$fileSize = null )
Аргументы
string$filePath
Возвращает
bool

См. определение в файле storage_bucket.php строка 496

◆ disableFailOver()

disableFailOver ( )

См. определение в файле storage_bucket.php строка 44

◆ 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()

FileExists ( $filePath)
Аргументы
string$filePath
Возвращает
bool

См. определение в файле storage_bucket.php строка 443

◆ FileRename()

FileRename ( $sourcePath,
$targetPath,
$overwrite = true )
Аргументы
string$sourcePath
string$targetPath
bool$overwrite
Возвращает
bool

См. определение в файле storage_bucket.php строка 557

◆ GetActualBucketId()

GetActualBucketId ( )
protected

См. определение в файле storage_bucket.php строка 73

◆ GetAllBuckets()

GetAllBuckets ( )
static
Возвращает
array[int][string]string

См. определение в файле storage_bucket.php строка 654

◆ getBucketArray()

getBucketArray ( )
Возвращает
array[string]string

См. определение в файле storage_bucket.php строка 92

◆ GetFileInfo()

GetFileInfo ( $filePath)
Аргументы
string$filePath
Возвращает
array|false

См. определение в файле storage_bucket.php строка 596

◆ GetFileSize()

GetFileSize ( $filePath)
Аргументы
string$filePath
Возвращает
float

См. определение в файле storage_bucket.php строка 638

◆ 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()

getQueueFlag ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 68

◆ getService()

getService ( )
Возвращает
CCloudStorageService

См. определение в файле storage_bucket.php строка 127

◆ IncFileCounter()

IncFileCounter ( $file_size = 0.0)
Аргументы
float$file_size
Возвращает
CDBResult

См. определение в файле storage_bucket.php строка 1307

◆ Init()

Init ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 348

◆ isFailoverEnabled()

isFailoverEnabled ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 52

◆ 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()

RenewToken ( )
Возвращает
bool

См. определение в файле storage_bucket.php строка 367

◆ SaveFile()

SaveFile ( $filePath,
$arFile )
Аргументы
string$filePath
mixed$arFile
Возвращает
bool

См. определение в файле storage_bucket.php строка 469

◆ SetFileCounter()

SetFileCounter ( $file_size,
$file_count )
Аргументы
float$file_size
int$file_count
Возвращает
CDBResult

См. определение в файле storage_bucket.php строка 1284

◆ setHeader()

setHeader ( $name,
$value )
Аргументы
string$name
string$value
Возвращает
void

См. определение в файле storage_bucket.php строка 1274

◆ setQueueFlag()

setQueueFlag ( $queueFlag = true)
Аргументы
bool$queueFlag

См. определение в файле storage_bucket.php строка 60

◆ Update()

Update ( $arFields)
Аргументы
array[string]string$arFields
Возвращает
mixed

См. определение в файле storage_bucket.php строка 1142

Поля

◆ $_ID

$_ID = 0
protected

См. определение в файле storage_bucket.php строка 22

◆ $applyFileCounterJobAdded

$applyFileCounterJobAdded = false
staticprotected

См. определение в файле storage_bucket.php строка 1301

◆ $arBucket

$arBucket
protected

См. определение в файле storage_bucket.php строка 23

◆ $arBuckets

$arBuckets
staticprotected

См. определение в файле storage_bucket.php строка 29

◆ $enabledFailover

$enabledFailover = true
protected

См. определение в файле storage_bucket.php строка 24

◆ $failoverBucket

$failoverBucket
protected

См. определение в файле storage_bucket.php строка 25

◆ $queueFlag

$queueFlag = true
protected

См. определение в файле storage_bucket.php строка 26

◆ $service

$service
protected

См. определение в файле storage_bucket.php строка 28


Объявления и описания членов класса находятся в файле: