fixed documentation example code of CFileValidator

fixes #1458
This commit is contained in:
Carsten Brandt
2013-05-27 03:33:09 +02:00
parent e7b7cd0291
commit a3e9fbe0bc

View File

@@ -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