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/REST/10.php';
12
 
13
/**
14
 * sfPearRest10 interacts with a PEAR channel that supports REST 1.0.
15
 *
16
 * @package    symfony
17
 * @subpackage plugin
18
 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
19
 * @version    SVN: $Id: sfPearRest10.class.php 5250 2007-09-24 08:11:50Z fabien $
20
 */
21
class sfPearRest10 extends PEAR_REST_10
22
{
23
  /**
24
   * @see PEAR_REST_10
25
   */
26
  public function __construct($config, $options = array())
27
  {
28
    $class = isset($options['base_class']) ? $options['base_class'] : 'sfPearRest';
29
 
30
    $this->_rest = new $class($config, $options);
31
  }
32
}