Метод uploadFile
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
81–131
~/bitrix/modulestasks/lib/integration/disk.php
Исходный код
Сигнатура метода
public static function uploadFile(array $file, $userId = 0)
Описание
Upload a new file into a disk folder. File must be uploaded to the tmp folder and be accessible through $_FILES
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$file
|
array
|
-
|
-
|
$userId
|
-
|
0
|
-
|