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