示例#1
0
文件: Table.php 项目: mnilsson/mnl
 /**
  * Constructor
  */
 public function __construct($table = '')
 {
     if ($table !== '') {
         $this->_table = $table;
     }
     $this->_dbAdapter = Mnl_Db_Connection::getConnection();
 }
示例#2
0
 public static function setConnection($connection = NULL)
 {
     if (!self::$_db) {
         self::$_db = $connection;
     }
 }