Files
addons
app_download_files
extend
alipay
app_alipay
aop
lotusphp_runtime
Autoloader
Cache
Captcha
Cookie
DB
Adapter
QueryEngine
Db.php
DbAdapterFactory.php
DbConfigBuilder.php
DbConnectionManager.php
DbHandle.php
DbSqlExpression.php
Inflector
Logger
MVC
ObjectUtil
Pagination
RBAC
Router
Session
Url
Validator
XML
Config.php
ConfigExpression.php
Lotus.php
Store.php
StoreFile.php
StoreMemory.php
shortcut.php
AopSdk.php
demo.php
version.txt
╦╡├ў.txt
image
org
phpexcel
phpmailer
unionpay
verify
wechat
wxpay
.htaccess
hyhproject
mobile
oss
static
thinkphp
upload
vendor
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5436787D.wgt
admin.php
app-release.apk
app_download.html
cash.lock
demo.php
get_startup.php
get_version.php
get_version_new.php
index.html
index.php
reg.lock
robots.txt
qlg.tsgz.moe/extend/app_alipay/lotusphp_runtime/DB/DbAdapterFactory.php
2019-09-06 23:53:10 +08:00

15 lines
375 B
PHP
Executable File

<?php
class LtDbAdapterFactory
{
public function getConnectionAdapter($connectionAdapterType)
{
$LtDbConnectionAdapter = "LtDbConnectionAdapter" . ucfirst($connectionAdapterType);
return new $LtDbConnectionAdapter;
}
public function getSqlAdapter($sqlAdapterType)
{
$LtDbSqlAdapter = "LtDbSqlAdapter" . ucfirst($sqlAdapterType);
return new $LtDbSqlAdapter;
}
}