コード例 #1
0
 public function run()
 {
     $inModel = $this->model;
     $model = new Image();
     $model->model = $inModel::className();
     $model->primaryKey = $this->primaryKey;
     return $this->render('ImageUploadView', ['fileUploadData' => $model->getWidgetUploadData(), 'primaryKey' => $this->primaryKey, 'inModel' => $this->model, 'model' => $model, 'maxNumberOfFiles' => $this->maxNumberOfFiles]);
 }