1
0
Fork 0
forked from blallo/rss-bridge

[GiphyBridge] merge parameters context

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-25 00:33:25 +02:00
parent 6dd45eae57
commit 946a0744ed

View file

@ -10,16 +10,14 @@ class GiphyBridge extends BridgeAbstract{
$this->uri = "http://giphy.com/";
$this->description = "Bridge for giphy.com";
$this->parameters["By tag"] = array(
's'=>array('name'=>'search tag')
$this->parameters[] = array(
's'=>array('name'=>'search tag'),
'n'=>array(
'name'=>'max number of returned items',
'type'=>'number'
)
);
$this->parameters["Without tag"] = array(
'n'=>array(
'name'=>'max number of returned items',
'type'=>'number'
)
);
}
public function collectData(array $param){