/**
  * Creates a new Fragment2Data model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate($fid)
 {
     $model = new Fragment2Data();
     $model->fragment_id = $fid;
     $model->status = Constants::Status_Enable;
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         return $this->redirect(['index', 'fid' => $fid]);
     } else {
         return $this->render('create', ['model' => $model]);
     }
 }