diff options
author | xue <> | 2006-11-28 16:05:43 +0000 |
---|---|---|
committer | xue <> | 2006-11-28 16:05:43 +0000 |
commit | 11e410a533bc7ae4009dd5467f798d6c387088ad (patch) | |
tree | 11e1bbab9f69a7d631482d947b4c5adef5916063 /framework | |
parent | 7bf5efc28c3bd0675778ddedc5ad6c6c5e2abc18 (diff) |
Added quickstart tutorial about DAO.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Data/TDbConnection.php | 9 |
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()
|