/src/typo3_src-4.2.0alpha1/typo3/sysext/adodb/adodb/drivers/adodb-ado_access.inc.php

00001 <?php
00002 /* 
00003 V4.94 23 Jan 2007  (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
00004 Released under both BSD license and Lesser GPL library license. 
00005 Whenever there is any discrepancy between the two licenses, 
00006 the BSD license will take precedence. See License.txt. 
00007 Set tabs to 4 for best viewing.
00008   
00009   Latest version is available at http://adodb.sourceforge.net
00010   
00011         Microsoft Access ADO data driver. Requires ADO and ODBC. Works only on MS Windows.
00012 */
00013 
00014 // security - hide paths
00015 if (!defined('ADODB_DIR')) die();
00016 
00017 if (!defined('_ADODB_ADO_LAYER')) {
00018         if (PHP_VERSION >= 5) include(ADODB_DIR."/drivers/adodb-ado5.inc.php");
00019         else include(ADODB_DIR."/drivers/adodb-ado.inc.php");
00020 }
00021 
00022 class  ADODB_ado_access extends ADODB_ado {     
00023         var $databaseType = 'ado_access';
00024         var $hasTop = 'top';            // support mssql SELECT TOP 10 * FROM TABLE
00025         var $fmtDate = "#Y-m-d#";
00026         var $fmtTimeStamp = "#Y-m-d h:i:sA#";// note no comma
00027         var $sysDate = "FORMAT(NOW,'yyyy-mm-dd')";
00028         var $sysTimeStamp = 'NOW';
00029         var $hasTransactions = false;
00030         var $upperCase = 'ucase';
00031         
00032         function ADODB_ado_access()
00033         {
00034                 $this->ADODB_ado();
00035         }
00036         
00037         function BeginTrans() { return false;}
00038         
00039         function CommitTrans() { return false;}
00040         
00041         function RollbackTrans() { return false;}
00042 
00043 }
00044 
00045  
00046 class  ADORecordSet_ado_access extends ADORecordSet_ado {       
00047         
00048         var $databaseType = "ado_access";               
00049         
00050         function ADORecordSet_ado_access($id,$mode=false)
00051         {
00052                 return $this->ADORecordSet_ado($id,$mode);
00053         }
00054 }
00055 ?>

This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!