コード例 #1
0
ファイル: IndexController.php プロジェクト: neotok/front
	/**
	*deleteAction
          *
          * @return void
          */
     public function deleteAction()
	 {
		$id 		= (int) $this->getRequest()->getParam('id');
		$userService = new User_Service_User();
		
		if( $userService->delete( $id ) ){
			$this->addSystemSuccess('Suppression OK');
		} else {
			$this->addSystemError('Suppression Ko');
		}
		
		$this->_redirect( $this->_helper->url->url( array(), 'userList' ));
	 }