Beispiel #1
0
 public function __construct()
 {
     $this->connection = SKDatabase::getInstance();
     if (empty($this->table)) {
         $this->table = strtolower(get_class($this));
     }
 }
 public static function getInstance()
 {
     if (self::$SKDatabase === null) {
         self::$SKDatabase = new SKDatabase();
     }
     return self::$SKDatabase;
 }