forked from blallo/rss-bridge
[GiphyBridge] merge parameters context
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
6dd45eae57
commit
946a0744ed
1 changed files with 6 additions and 8 deletions
|
@ -10,16 +10,14 @@ class GiphyBridge extends BridgeAbstract{
|
||||||
$this->uri = "http://giphy.com/";
|
$this->uri = "http://giphy.com/";
|
||||||
$this->description = "Bridge for giphy.com";
|
$this->description = "Bridge for giphy.com";
|
||||||
|
|
||||||
$this->parameters["By tag"] = array(
|
$this->parameters[] = array(
|
||||||
's'=>array('name'=>'search tag')
|
'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){
|
public function collectData(array $param){
|
||||||
|
|
Loading…
Reference in a new issue