mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-06 16:16:53 +01:00
@@ -26,6 +26,7 @@
|
||||
*
|
||||
* When using CFileValidator with an active record, the following code is often used:
|
||||
* <pre>
|
||||
* $model->attribute = CUploadedFile::getInstance($model, "attribute");
|
||||
* if($model->save())
|
||||
* {
|
||||
* // single upload
|
||||
|
||||
Reference in New Issue
Block a user