Beispiel #1
0
 /**
  * Updates an existing User model.
  * If update is successful, the browser will be redirected to the 'view' page.
  * @param integer $id
  * @return mixed
  */
 public function actionUpdate($id)
 {
     $data['userList'] = User::getAllUsers($id);
     return $this->render('update', $data);
 }