original_string: public function actionTaskstatuscreate()
      {
          $model = new SRI_Taskstatus();
  
          if ($model->load(Yii::$app->request->post()) && $model->save()) {
              return $this->redirect(['taskstatusview', 'id' => $model->id]);
          } else {
              return $this->render('taskstatus_create', [
                  'model' => $model,
              ]);
          }
      }
code: public function actionTaskstatuscreate()
      {
          $model = new SRI_Taskstatus();
  
          if ($model->load(Yii::$app->request->post()) && $model->save()) {
              return $this->redirect(['taskstatusview', 'id' => $model->id]);
          } else {
              return $this->render('taskstatus_create', [
                  'model' => $model,
              ]);
          }
      }
code_tokens: public function actionTaskstatuscreate ( ) { $ model = new SRI_Taskstatus ( ) ; if ( $ model -> load ( Yii :: $ app -> request -> post ( ) ) && $ model -> save ( ) ) { return $ this -> redirect ( [ 'taskstatusview' , 'id' => $ model -> id ] ) ; } else { return $ this -> render ( 'taskstatus_create' , [ 'model' => $ model , ] ) ; } }
docstring: Creates a new SRITaskstatus model.
  If creation is successful, the browser will be redirected to the 'view' page.
  @return mixed
docstring_tokens: Creates a new SRITaskstatus model . If creation is successful the browser will be redirected to the view page .