在一个文件中使用两个xupload exntention

时间:2014-10-18 13:24:15

标签: yii yii2 yii-extensions yii-components yii-xupload

我想在yii中以一种形式从两个exuploded文件中获得两个用户。如何才能做到这一点?

 $this->widget('xupload.XUpload', array(
        'url' => Yii::app()->createUrl("site/upload"),
        'model' => $photos,
        'showForm'=>true,
        'htmlOptions' => array('id'=>'place-form','name'=>'album'),
        //'options'=>array('style'=>"border:solid thin red;"),
        //'formView'=>"CActiveForm",
        'attribute' => 'file',
        //'formView' => 'application.views.XUpload.form',
        'uploadTemplate' => '#template-upload',
        //'autoUpload'=>false,
        'multiple' => true,

    )); 

0 个答案:

没有答案