Interface.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * PHPIDS
  4. *
  5. * Requirements: PHP5, SimpleXML
  6. *
  7. * Copyright (c) 2008 PHPIDS group (http://php-ids.org)
  8. *
  9. * PHPIDS is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU Lesser General Public License as published by
  11. * the Free Software Foundation, version 3 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * PHPIDS is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public License
  20. * along with PHPIDS. If not, see <http://www.gnu.org/licenses/>.
  21. *
  22. * PHP version 5.1.6+
  23. *
  24. * @category Security
  25. * @package PHPIDS
  26. * @author Mario Heiderich <mario.heiderich@gmail.com>
  27. * @author Christian Matthies <ch0012@gmail.com>
  28. * @author Lars Strojny <lars@strojny.net>
  29. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  30. * @link http://php-ids.org/
  31. */
  32. /**
  33. * Interface for logging wrappers
  34. *
  35. * @category Security
  36. * @package PHPIDS
  37. * @author Christian Matthies <ch0012@gmail.com>
  38. * @author Mario Heiderich <mario.heiderich@gmail.com>
  39. * @author Lars Strojny <lars@strojny.net>
  40. * @copyright 2007-2009 The PHPIDS Group
  41. * @version Release: $Id:Interface.php 517 2007-09-15 15:04:13Z mario $
  42. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  43. * @link http://php-ids.org/
  44. */
  45. interface IDS_Log_Interface
  46. {
  47. /**
  48. * Interface method
  49. *
  50. * @param IDS_Report $data the report data
  51. *
  52. * @return void
  53. */
  54. public function execute(IDS_Report $data);
  55. }
  56. /**
  57. * Local variables:
  58. * tab-width: 4
  59. * c-basic-offset: 4
  60. * End:
  61. * vim600: sw=4 ts=4 expandtab
  62. */