Ejemplo n.º 1
0
 public function actionAwsFormat()
 {
     $form = new AWSFormatConfigForm();
     if (Yii::app()->request->isPostRequest && isset($_POST['AWSFormatConfigForm'])) {
         $form->attributes = $_POST['AWSFormatConfigForm'];
         if ($form->validate()) {
             $form->save();
         }
     }
     $this->render('setup_aws_format', array('form' => $form));
 }