Added getDriver method.

This commit is contained in:
Josh Sherman 2010-10-31 14:34:14 -04:00
parent 756e0a4452
commit fce848e9bb

View file

@ -176,6 +176,19 @@ abstract class Database_Common extends Object
return $this->database = $database;
}
/**
* Get Driver
*
* Returns the name of the driver in use. Used by the Model class to
* determine which path to take when interfacing with the Database object.
*
* @return string name of the driver in use
*/
public function getDriver()
{
return $this->driver;
}
/**
* Opens database connection
*