[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/adodb/drivers/ -> adodb-ado_access.inc.php (source)

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


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1