Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame] | 1 | <?php |
2 | |||||
3 | class Mock_Database_Drivers_Sqlite extends Mock_Database_DB_Driver { | ||||
Andrey Andreev | 9d533ae | 2012-06-04 15:56:56 +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 | { | ||||
Taufan Aditya | 26490e3 | 2012-04-04 23:50:00 +0700 | [diff] [blame] | 13 | parent::__construct('CI_DB_sqlite3_driver', $config); |
Taufan Aditya | f4c6c9b | 2012-04-04 23:24:09 +0700 | [diff] [blame] | 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 | } |