Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | class Mock_Database_Drivers_Mysql extends Mock_Database_DB_Driver { | ||||
4 | |||||
5 | /** | ||||
6 | * Instantiate the database driver | ||||
7 | * | ||||
8 | * @param string DB Driver class name | ||||
9 | * @param array DB configuration to set | ||||
10 | * @return void | ||||
11 | */ | ||||
12 | public function __construct($config = array()) | ||||
13 | { | ||||
14 | parent::__construct('CI_DB_mysql_driver', $config); | ||||
15 | } | ||||
16 | } |