mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 18:44:04 +02:00
[core + bridges] get rid of loadMetadata
if a bridge needs to modify some of the data that were initialized there, ::__construct() should be used instead. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -1,21 +1,17 @@
|
||||
<?php
|
||||
class WhydBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
public $maintainer = "kranack";
|
||||
public $name = "Whyd Bridge";
|
||||
public $uri = "http://www.whyd.com/";
|
||||
public $description = "Returns 10 newest music from user profile";
|
||||
|
||||
$this->maintainer = "kranack";
|
||||
$this->name = "Whyd Bridge";
|
||||
$this->uri = "http://www.whyd.com/";
|
||||
$this->description = "Returns 10 newest music from user profile";
|
||||
|
||||
$this->parameters[] = array(
|
||||
'u'=>array(
|
||||
public $parameters = array( array(
|
||||
'u'=>array(
|
||||
'name'=>'username/id',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
)
|
||||
));
|
||||
|
||||
public function collectData(){
|
||||
$param=$this->parameters[$this->queriedContext];
|
||||
|
Reference in New Issue
Block a user