(file) Return to dbiw.inc CVS log (file) (dir) 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           
24           
25           }
26           
27           ?>

cvsadmin
Powered by
ViewCVS 0.9.2