mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 10:34:15 +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,13 @@ class CryptomeBridge extends BridgeAbstract{
|
||||
$this->uri = "http://cryptome.org/";
|
||||
$this->description = "Returns the N most recent documents.";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "number of elements",
|
||||
"identifier" : "n",
|
||||
"type" : "number",
|
||||
"exampleValue" : "10"
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'n'=>array(
|
||||
'name'=>'number of elements',
|
||||
'type'=>'number',
|
||||
'exampleValue'=>10
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user