mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 19:40:00 +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:
@@ -8,15 +8,12 @@ class VineBridge extends BridgeAbstract {
|
||||
$this->uri = "http://vine.co/";
|
||||
$this->description = "Returns the latests vines from vine user page";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "User id",
|
||||
"identifier" : "u",
|
||||
"type" : "text",
|
||||
"required" : true
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'u'=>array(
|
||||
'name'=>'User id',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
Reference in New Issue
Block a user