예제 #1
0
 /**
  * 构造函数
  * @param type $tableName
  * @param type $full    如果为真将为全表名
  */
 public function __construct($table = null, $full = null, $driver = null)
 {
     $this->tableName = $this->get_table($table, $full);
     //初始化默认表
     $this->db = dbFactory::factory($driver, $this->tableName);
     //获得数据库引擎
 }