Rev 27 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 27 | Rev 29 | ||
---|---|---|---|
1 | <?php
|
1 | <?php
|
2 | 2 | ||
3 | require_once 'lib/Db/Adapter.php'; |
3 | require_once __DIR__ . '/Adapter.php'; |
4 | require_once 'lib/Db/MySQLDB.php'; |
4 | require_once __DIR__ . '/MySQLDB.php'; |
5 | 5 | ||
6 | class MySQLAdapter extends Adapter |
6 | class MySQLAdapter extends Adapter |
7 | {
|
7 | {
|
8 | /**
|
8 | /**
|
9 | * Constructs the adapter, associating a {@link MySQLDB} with it
|
9 | * Constructs the adapter, associating a {@link MySQLDB} with it
|
10 | * @param MySQLDB $database
|
10 | * @param MySQLDB $database
|
11 | */
|
11 | */
|
12 | /* Singleton */
|
12 | /* Singleton */
|
13 | protected function __construct(MySQLDB $database) |
13 | protected function __construct(MySQLDB $database) |
14 | {
|
14 | {
|
15 | parent::__construct($database); |
15 | parent::__construct($database); |
16 | }
|
16 | }
|
17 | }
|
17 | }
|