Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

   1  <?php
   2  /*
   3  @version   v5.20.16  12-Jan-2020
   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.
   9    Set tabs to 4.
  10  
  11    Synonym for csv driver.
  12  */
  13  
  14  // security - hide paths
  15  if (!defined('ADODB_DIR')) die();
  16  
  17  if (! defined("_ADODB_PROXY_LAYER")) {
  18  	  define("_ADODB_PROXY_LAYER", 1 );
  19  	  include(ADODB_DIR."/drivers/adodb-csv.inc.php");
  20  
  21  	 class ADODB_proxy extends ADODB_csv {
  22  	 	 var $databaseType = 'proxy';
  23  	 	 var $databaseProvider = 'csv';
  24  	 }
  25  	 class ADORecordset_proxy extends ADORecordset_csv {
  26  	 var $databaseType = "proxy";
  27  
  28  		function __construct($id,$mode=false)
  29  	 	 {
  30  	 	 	 parent::__construct($id,$mode);
  31  	 	 }
  32  	 };
  33  } // define