Return to dbiw.inc CVS log | Up to [Development] / gantt_manager / src / lib / db |
1 pjaol 1.1 <?php 2 3 class dbiw { 4 5 private $dbh; 6 7 8 function getDBH () { 9 $conf = Conf::instance(); 10 $db_conf = $conf->get("db_config"); 11 $dbType = $db_conf["type"]; 12 include("mysql_conn.inc"); 13 14 } 15 function __construct () { 16 $this->getDBH(); 17 $this->$dbh = new db_handle(); 18 19 } 20 function dbExec ($sql) { 21 return $this->$dbh->sel($sql); 22 pjaol 1.1 } | ||
23 pjaol 1.2 function dbSel ($sql) { 24 return $this->$dbh->sel($sql); 25 } 26 27 function dbIns ($sql) { 28 return $this->$dbh->ins($sql); 29 } | ||
30 pjaol 1.1 31 32 } 33 34 ?> |
cvsadmin |
Powered by ViewCVS 0.9.2 |