Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/*
4
 * This file is part of the symfony package.
5
 * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
 
11
require_once 'PEAR/Config.php';
12
 
13
/**
14
 * sfPearConfig.
15
 *
16
 * @package    symfony
17
 * @subpackage plugin
18
 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
19
 * @version    SVN: $Id: sfPearConfig.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
20
 */
21
class sfPearConfig extends PEAR_Config
22
{
23
  function &getREST($version, $options = array())
24
  {
25
    $class = 'sfPearRest'.str_replace('.', '', $version);
26
 
27
    $remote = new $class($this, $options);
28
 
29
    return $remote;
30
  }
31
}