12345678910111213141516171819202122232425262728293031 |
- <?php
- /*
- * This file is part of the symfony package.
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- require_once 'PEAR/Downloader.php';
- /**
- * sfPearDownloader downloads files from the Internet.
- *
- * @package symfony
- * @subpackage plugin
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- * @version SVN: $Id: sfPearDownloader.class.php 5250 2007-09-24 08:11:50Z fabien $
- */
- class sfPearDownloader extends PEAR_Downloader
- {
- /**
- * @see PEAR_REST::downloadHttp()
- */
- public function downloadHttp($url, &$ui, $save_dir = '.', $callback = null, $lastmodified = null, $accept = false, $channel = false)
- {
- return parent::downloadHttp($url, $ui, $save_dir, $callback, $lastmodified, $accept, $channel);
- }
- }
|