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