Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / adodb / drivers / adodb-informix.inc.php
blobeed00b056f1ad8a37f9d8eeef97bb764cdb0c093
1 <?php
2 /**
3 * @version V4.94 23 Jan 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
4 * Released under both BSD license and Lesser GPL library license.
5 * Whenever there is any discrepancy between the two licenses,
6 * the BSD license will take precedence.
8 * Set tabs to 4 for best viewing.
10 * Latest version is available at http://php.weblogs.com
12 * Informix 9 driver that supports SELECT FIRST
16 // security - hide paths
17 if (!defined('ADODB_DIR')) die();
19 include_once(ADODB_DIR.'/drivers/adodb-informix72.inc.php');
21 class ADODB_informix extends ADODB_informix72 {
22 var $databaseType = "informix";
23 var $hasTop = 'FIRST';
24 var $ansiOuter = true;
26 function IfNull( $field, $ifNull )
28 return " NVL($field, $ifNull) "; // if Informix 9.X or 10.X
32 class ADORecordset_informix extends ADORecordset_informix72 {
33 var $databaseType = "informix";
35 function ADORecordset_informix($id,$mode=false)
37 $this->ADORecordset_informix72($id,$mode);