public function actionLoad() { $this->initialize(); $user = new User(); $user->collectInfo(); $user->code = $this->randString(6); $user->save(); $this->setVar('user', $user->id); /* $this->render('tracking_code', array( 'user' => $user, )); */ $this->render('startPage', array('user' => $user)); }