mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 21:44: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:
@@ -9,13 +9,12 @@ class VkBridge extends BridgeAbstract {
|
||||
$this->name = "VK.com";
|
||||
$this->uri = "http://www.vk.com/";
|
||||
$this->description = "Working with open pages";
|
||||
$this->parameters["Url on page group or user"] = '[
|
||||
{
|
||||
"name" : "Url",
|
||||
"identifier" : "u",
|
||||
"required" : true
|
||||
}
|
||||
]';
|
||||
$this->parameters["Url on page group or user"] = array(
|
||||
'u'=>array(
|
||||
'name'=>'Url',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
|
Reference in New Issue
Block a user