]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - lib/WikiDB/adodb/drivers/adodb-proxy.inc.php
Reformat code
[SourceForge/phpwiki.git] / lib / WikiDB / adodb / drivers / adodb-proxy.inc.php
1 <?php
2 /*
3 V4.22 15 Apr 2004  (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved.
4   Released under both BSD license and Lesser GPL library license.
5   Whenever there is any discrepancy between the two licenses,
6   the BSD license will take precedence.
7   Set tabs to 4.
8
9   Synonym for csv driver.
10 */
11
12 if (!defined("_ADODB_PROXY_LAYER")) {
13     define("_ADODB_PROXY_LAYER", 1);
14     include(ADODB_DIR . "/drivers/adodb-csv.inc.php");
15
16     class ADODB_proxy extends ADODB_csv
17     {
18         var $databaseType = 'proxy';
19         var $databaseProvider = 'csv';
20     }
21
22     class ADORecordset_proxy extends ADORecordset_csv
23     {
24         var $databaseType = "proxy";
25
26         function ADORecordset_proxy($id, $mode = false)
27         {
28             $this->ADORecordset($id, $mode);
29         }
30     }
31
32     ;
33 } // define