summaryrefslogtreecommitdiff
path: root/framework/Data/TDbConnection.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/TDbConnection.php')
-rw-r--r--framework/Data/TDbConnection.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/Data/TDbConnection.php b/framework/Data/TDbConnection.php
index 9652258d..f0a0bc0d 100644
--- a/framework/Data/TDbConnection.php
+++ b/framework/Data/TDbConnection.php
@@ -102,6 +102,15 @@ class TDbConnection extends TComponent
}
/**
+ * @return array list of available PDO drivers
+ * @see http://www.php.net/manual/en/function.pdo-getavailabledrivers.php
+ */
+ public static function getAvailableDrivers()
+ {
+ return PDO::getAvailableDrivers();
+ }
+
+ /**
* @return boolean whether the DB connection is established
*/
public function getActive()