original_string: public function actionTaskstatusupdate($id)
      {
          $model = $this->findTaskstatusmodel($id);
  
          if ($model->load(Yii::$app->request->post()) && $model->save()) {
              return $this->redirect(['taskstatusview', 'id' => $model->id]);
          } else {
              return $this->render('taskstatus_update', [
                  'model' => $model,
              ]);
          }
      }
code: public function actionTaskstatusupdate($id)
      {
          $model = $this->findTaskstatusmodel($id);
  
          if ($model->load(Yii::$app->request->post()) && $model->save()) {
              return $this->redirect(['taskstatusview', 'id' => $model->id]);
          } else {
              return $this->render('taskstatus_update', [
                  'model' => $model,
              ]);
          }
      }
code_tokens: public function actionTaskstatusupdate ( $ id ) { $ model = $ this -> findTaskstatusmodel ( $ id ) ; if ( $ model -> load ( Yii :: $ app -> request -> post ( ) ) && $ model -> save ( ) ) { return $ this -> redirect ( [ 'taskstatusview' , 'id' => $ model -> id ] ) ; } else { return $ this -> render ( 'taskstatus_update' , [ 'model' => $ model , ] ) ; } }
docstring: Updates an existing SRITaskstatus model.
  If update is successful, the browser will be redirected to the 'view' page.
  @param integer $id
  @return mixed
docstring_tokens: Updates an existing SRITaskstatus model . If update is successful the browser will be redirected to the view page .