Added getDriver method.
This commit is contained in:
parent
756e0a4452
commit
fce848e9bb
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue