PageRenderTime 67ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 1ms

/library/INEX/Filter/StripSlashes.php

https://github.com/slampt/IXP-Manager
PHP | 41 lines | 9 code | 5 blank | 27 comment | 0 complexity | d78086ecba9744c21d5b825850039ab8 MD5 | raw file
Possible License(s): GPL-2.0
  1. <?php
  2. /*
  3. * Copyright (C) 2009-2011 Internet Neutral Exchange Association Limited.
  4. * All Rights Reserved.
  5. *
  6. * This file is part of IXP Manager.
  7. *
  8. * IXP Manager is free software: you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the Free
  10. * Software Foundation, version v2.0 of the License.
  11. *
  12. * IXP Manager is distributed in the hope that it will be useful, but WITHOUT
  13. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  15. * more details.
  16. *
  17. * You should have received a copy of the GNU General Public License v2.0
  18. * along with IXP Manager. If not, see:
  19. *
  20. * http://www.gnu.org/licenses/gpl-2.0.html
  21. */
  22. /**
  23. *
  24. * http://www.inex.ie/
  25. * (c) Internet Neutral Exchange Association Ltd
  26. *
  27. * @package INEX_Filter
  28. */
  29. class INEX_Filter_StripSlashes implements Zend_Filter_Interface
  30. {
  31. public function filter( $value )
  32. {
  33. return stripslashes( $value );
  34. }
  35. }
  36. ?>