/** * 获得 Pft_Db 对象 * * @return Pft_Db */ public static function getDbx($con_name = "propel") { if (!self::$_dbx) { self::$_dbx = new Pft_Dbx($con_name); } else { self::$_dbx->reconnect($con_name); } return self::$_dbx; }