sfPearRest.class.php 772 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. require_once 'PEAR/REST.php';
  10. /**
  11. * sfPearRest interacts with a PEAR channel.
  12. *
  13. * @package symfony
  14. * @subpackage plugin
  15. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  16. * @version SVN: $Id: sfPearRest.class.php 5250 2007-09-24 08:11:50Z fabien $
  17. */
  18. class sfPearRest extends PEAR_REST
  19. {
  20. /**
  21. * @see PEAR_REST::downloadHttp()
  22. */
  23. public function downloadHttp($url, $lastmodified = null, $accept = false)
  24. {
  25. return parent::downloadHttp($url, $lastmodified, $accept);
  26. }
  27. }