1

我想在 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,

    )); 
4

0 回答 0