2020-08-31 20:02:25 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// This bridge depends on Releases3DSBridge
|
2020-10-15 10:53:19 +03:00
|
|
|
if (!class_exists('Releases3DSBridge')) {
|
2022-07-01 16:10:30 +03:00
|
|
|
include('Releases3DSBridge.php');
|
2020-08-31 20:02:25 +03:00
|
|
|
}
|
|
|
|
|
2022-07-01 16:10:30 +03:00
|
|
|
class ReleasesSwitchBridge extends Releases3DSBridge
|
|
|
|
{
|
|
|
|
const NAME = 'Switch Scene Releases';
|
|
|
|
const URI = 'http://www.nswdb.com/';
|
|
|
|
const DESCRIPTION = 'Returns the newest scene releases for Nintendo Switch.';
|
2020-08-31 20:02:25 +03:00
|
|
|
|
2022-07-01 16:10:30 +03:00
|
|
|
public function collectData()
|
|
|
|
{
|
|
|
|
$this->collectDataUrl(self::URI . 'xml.php');
|
|
|
|
}
|
2020-08-31 20:02:25 +03:00
|
|
|
}
|