public function adminAction() { //partea de administrare if($this->getRequest()->isPost()) { $this->userService->CreateUser($this->_getParam('nume'),$this->_getParam('email')); } $rowset = $this->userService->GetAllUsers(); $this->view->users = $rowset->toArray(); }