/**
  * 
  * @return array[]
  */
 public function actionUpdate()
 {
     $i = 0;
     foreach ($_POST as $key => $content) {
         $model = ContentContainer::findOne($key);
         $model->data = $content;
         $model->save();
         $i++;
     }
     Yii::$app->response->format = Response::FORMAT_JSON;
     return [];
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContentContainer()
 {
     return $this->hasOne(ContentContainer::className(), ['id' => 'id']);
 }