public static function getInstance() { if (empty(self::$instance)) { self::$instance = new Database_History(); } return self::$instance; }