示例#1
0
 public function __construct(Database &$db, $table)
 {
     $this->db = $db;
     $this->dbname = $db->getDBName();
     $this->table = $db->getTableName($table, false);
 }
示例#2
0
文件: cutelib.php 项目: jl9n/CuteLib
 function __construct(Database &$W, $M)
 {
     $this->db = $W;
     $this->dbname = $W->getDBName();
     $this->table = $W->getTableName($M, false);
 }