dbiw.inc

来自「Local Lucene ==================== Prov」· INC 代码 · 共 33 行

INC
33
字号
<?phpclass dbiw {  private $dbh;  private $conf;  function getDBH () {    $db_conf = $this->$conf->get("db");    $dbType = $db_conf["type"];    include($dbType."_conn.inc");  }  function __construct () {    $this->$conf = Conf::instance();    $this->getDBH();    $this->$dbh = new db_handle();  }  function dbExec ($sql) {    return $this->$dbh->sel($sql);  }  function dbSel ($sql) {    return $this->$dbh->sel($sql);  }  function dbIns ($sql) {    return $this->$dbh->ins($sql);  }}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?