예제 #1
0
 /**
  * Wyświetlenie pojedynczego użytkownika
  *
  * @return void
  */
 public function showAction()
 {
     $request = $this->getRequest();
     $id = $request->getParam('id');
     $id = $this->_helper->IdConvert->hexToStr($id);
     $logic = new Logic_User();
     $data = array();
     try {
         $data = $logic->showUser($id);
     } catch (Logic_User_Exception $e) {
         $this->_helper->messenger('error', MSG_ERROR, $e);
         $this->_helper->redirector('index');
         return;
     }
     $this->view->data = $data;
 }