1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-15 13:04:01 +02:00

[bridges] migrate all bridges to an array based definition of parameters

see github issue 356

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière
2016-08-22 01:25:56 +02:00
parent 2f09ae56ad
commit f0e502ce37
79 changed files with 1381 additions and 2316 deletions

View File

@@ -6,16 +6,13 @@ class RTBFBridge extends BridgeAbstract {
$this->description = "Returns the newest RTBF videos by series ID";
$this->maintainer = "Frenzie";
$this->parameters[] =
'[
{
"type" : "text",
"identifier" : "c",
"name" : "series id",
"exampleValue" : "9500",
"required" : true
}
]';
$this->parameters[] = array(
'c'=>array(
'name'=>'series id',
'exampleValue'=>9500,
'required'=>true
)
);
}
public function collectData(array $param) {