[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->description = "Bridge for giphy.com";
|
||||
|
||||
$this->parameters["By tag"] = array(
|
||||
's'=>array('name'=>'search tag')
|
||||
);
|
||||
|
||||
$this->parameters["Without tag"] = array(
|
||||
$this->parameters[] = array(
|
||||
's'=>array('name'=>'search tag'),
|
||||
'n'=>array(
|
||||
'name'=>'max number of returned items',
|
||||
'type'=>'number'
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
|
Loading…
Reference in a new issue