Пример #1
0
 /**
  * The user is held in the application object
  * for quick and easy access
  *
  * @param ZendUser $user
  */
 public function setUser(NovemberUser $user)
 {
     $this->getSession()->CURRENT_USER_NAME = $user->getUsername();
     $this->getSession()->CURRENT_USER_TICKET = $user->getTicket();
     $this->user = $user;
 }