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 { |
Andrey Andreev | f243ce1 | 2012-06-09 23:34:21 +0300 | [diff] [blame] | 4 | |
Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame] | 5 | /** |
| 6 | * Instantiate the database driver |
| 7 | * |
Andrey Andreev | f243ce1 | 2012-06-09 23:34:21 +0300 | [diff] [blame] | 8 | * @param array DB configuration to set |
| 9 | * @return void |
Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame] | 10 | */ |
| 11 | public function __construct($config = array()) |
| 12 | { |
| 13 | parent::__construct('CI_DB_mysql_driver', $config); |
| 14 | } |
Andrey Andreev | f243ce1 | 2012-06-09 23:34:21 +0300 | [diff] [blame] | 15 | |
Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame] | 16 | } |