e00bbe353f
Separate bridge from Releases3DS that just has a different URL. Inherits from Releases3DS so both bridges need to be present. * [Releases3DS] Fix PHP notices related to IGN
17 lines
428 B
PHP
17 lines
428 B
PHP
<?php
|
|
|
|
// This bridge depends on Releases3DSBridge
|
|
if (!class_exists('Releases3DSBridge')){
|
|
include('Releases3DSBridge.php');
|
|
}
|
|
|
|
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.';
|
|
|
|
public function collectData(){
|
|
$this->collectDataUrl(self::URI . 'xml.php');
|
|
}
|
|
}
|