mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 11:04:36 +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,20 +1,16 @@
|
||||
<?php
|
||||
class BandcampBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "sebsauvage";
|
||||
$this->name = "Bandcamp Tag";
|
||||
$this->uri = "http://bandcamp.com/";
|
||||
$this->description = "New bandcamp release by tag";
|
||||
|
||||
$this->parameters[] = array(
|
||||
'tag'=>array(
|
||||
public $maintainer = "sebsauvage";
|
||||
public $name = "Bandcamp Tag";
|
||||
public $uri = "http://bandcamp.com/";
|
||||
public $description = "New bandcamp release by tag";
|
||||
public $parameters = array( array(
|
||||
'tag'=>array(
|
||||
'name'=>'tag',
|
||||
'type'=>'text'
|
||||
)
|
||||
);
|
||||
}
|
||||
)
|
||||
));
|
||||
|
||||
public function collectData(){
|
||||
$param=$this->parameters[$this->queriedContext];
|
||||
|
Reference in New Issue
Block a user