1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CCloudStorageUpload

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

 __construct ($filePath)
 GetArray ()
 isStarted ()
 Delete ()
 DeleteOld ()
 Start ($bucket_id, $fileSize, $ContentType='binary/octet-stream', $tmpFileName=false)
 Next ($data, $obBucket=null)
 Part ($data, $part_no, $obBucket=null)
 Finish ($obBucket=null)
 GetPartCount ()
 GetPos ()
 getPartSize ()
 hasRetries ()
 getTempFileName ()

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

static CleanUp ($ID='')

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

 UpdateProgress ($arUploadInfo, $bSuccess)

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

 $_filePath = ''
 $_ID = ''
 $obBucket
 $_max_retries = 3
 $_cache = null

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

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

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

◆ __construct()

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

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

Методы

◆ CleanUp()

CleanUp ( $ID = '')
static

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

◆ Delete()

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

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

◆ DeleteOld()

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

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

◆ Finish()

Finish ( $obBucket = null)
Возвращает
bool

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

◆ GetArray()

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

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

◆ GetPartCount()

GetPartCount ( )
Возвращает
int

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

◆ getPartSize()

getPartSize ( )
Возвращает
int

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

◆ GetPos()

GetPos ( )
Возвращает
float

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

◆ getTempFileName()

getTempFileName ( )
Возвращает
string

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

◆ hasRetries()

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

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

◆ isStarted()

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

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

◆ Next()

Next ( $data,
$obBucket = null )
Аргументы
string$data
Возвращает
bool

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

◆ Part()

Part ( $data,
$part_no,
$obBucket = null )
Аргументы
string$data
int$part_no
Возвращает
bool

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

◆ Start()

Start ( $bucket_id,
$fileSize,
$ContentType = 'binary/octet-stream',
$tmpFileName = false )
Аргументы
int$bucket_id
float$fileSize
string$ContentType
Возвращает
bool

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

◆ UpdateProgress()

UpdateProgress ( $arUploadInfo,
$bSuccess )
protected
Аргументы
array$arUploadInfo
bool$bSuccess
Возвращает
bool

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

Поля

◆ $_cache

$_cache = null
protected

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

◆ $_filePath

$_filePath = ''
protected

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

◆ $_ID

$_ID = ''
protected

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

◆ $_max_retries

$_max_retries = 3
protected

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

◆ $obBucket

$obBucket
protected

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


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