Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
mongosoft
file
UploadBehavior
save
mongosoft\file\UploadBehavior::save PHP Метод
Документация по классу UploadBehavior
Показать файл
Открыть проект
save()
защищенный
Метод
Saves the uploaded file.
protected
save
(
UploadedFile
$file
,
string
$path
) :
boolean
$file
yii\web\UploadedFile
the uploaded file instance
$path
string
the file path used to save the uploaded file
Результат
boolean
true whether the file is saved successfully
protected function save($file, $path) { return $file->saveAs($path, $this->deleteTempFile); }
UploadBehavior
afterDelete
afterSave
afterUpload
beforeSave
beforeValidate
delete
events
generateFileName
getFileName
getUploadPath
getUploadUrl
init
resolvePath
sanitize
save