blob: 65bb7258d592b8b80772cfebad52c7dafc0378fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
include_once("DB.php");
abstract class DBModel {
protected static $DB;
public static function __constructStatic() {
self::$DB = new DB();
}
}
DBModel::__constructStatic();
|