sfPearDownloader.class.php 902 B

12345678910111213141516171819202122232425262728293031
  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/Downloader.php';
  10. /**
  11. * sfPearDownloader downloads files from the Internet.
  12. *
  13. * @package symfony
  14. * @subpackage plugin
  15. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  16. * @version SVN: $Id: sfPearDownloader.class.php 5250 2007-09-24 08:11:50Z fabien $
  17. */
  18. class sfPearDownloader extends PEAR_Downloader
  19. {
  20. /**
  21. * @see PEAR_REST::downloadHttp()
  22. */
  23. public function downloadHttp($url, &$ui, $save_dir = '.', $callback = null, $lastmodified = null, $accept = false, $channel = false)
  24. {
  25. return parent::downloadHttp($url, $ui, $save_dir, $callback, $lastmodified, $accept, $channel);
  26. }
  27. }