source: trunk/phpgwapi/inc/adodb/drivers/adodb-ado_access.inc.php @ 2

Revision 2, 1.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2/*
3V4.51 29 July 2004  (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved.
4Released under both BSD license and Lesser GPL library license.
5Whenever there is any discrepancy between the two licenses,
6the BSD license will take precedence. See License.txt.
7Set tabs to 4 for best viewing.
8 
9  Latest version is available at http://adodb.sourceforge.net
10 
11        Microsoft Access ADO data driver. Requires ADO and ODBC. Works only on MS Windows.
12*/
13
14// security - hide paths
15if (!defined('ADODB_DIR')) die();
16
17if (!defined('_ADODB_ADO_LAYER')) {
18        include(ADODB_DIR."/drivers/adodb-ado.inc.php");
19}
20
21class  ADODB_ado_access extends ADODB_ado {     
22        var $databaseType = 'ado_access';
23        var $hasTop = 'top';            // support mssql SELECT TOP 10 * FROM TABLE
24        var $fmtDate = "#Y-m-d#";
25        var $fmtTimeStamp = "#Y-m-d h:i:sA#";// note no comma
26        var $sysDate = "FORMAT(NOW,'yyyy-mm-dd')";
27        var $sysTimeStamp = 'NOW';
28        var $hasTransactions = false;
29       
30        function ADODB_ado_access()
31        {
32                $this->ADODB_ado();
33        }
34       
35        function BeginTrans() { return false;}
36
37}
38
39 
40class  ADORecordSet_ado_access extends ADORecordSet_ado {       
41       
42        var $databaseType = "ado_access";               
43       
44        function ADORecordSet_ado_access($id,$mode=false)
45        {
46                return $this->ADORecordSet_ado($id,$mode);
47        }
48}
49?>
Note: See TracBrowser for help on using the repository browser.