示例#1
0
文件: mysql.php 项目: ewa-k-batko/dom
 private function __construct()
 {
     self::$db = Model_Db_Mysql::getInstance(Manager_Config::dbCnf());
 }
示例#2
0
文件: mysql.php 项目: ewa-k-batko/dom
 public static function getInstance($base, $param = null)
 {
     if (empty(self::$_instance)) {
         self::$_instance = new self($base, $param);
     }
     return self::$_instance;
 }