Merge pull request #14 from Roy-Orbison/patch_driver_name
Function to retrieve driver name
This commit is contained in:
commit
cdfc70faed
|
@ -11,6 +11,15 @@ function add_driver($id, $name) {
|
||||||
$drivers[$id] = $name;
|
$drivers[$id] = $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Get driver name
|
||||||
|
* @param string
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
function get_driver($id) {
|
||||||
|
global $drivers;
|
||||||
|
return $drivers[$id];
|
||||||
|
}
|
||||||
|
|
||||||
/*abstract*/ class Min_SQL {
|
/*abstract*/ class Min_SQL {
|
||||||
var $_conn;
|
var $_conn;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue