[bridges] use constants instead of variable members

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-30 11:23:55 +02:00
parent 556b8a2452
commit 9a0da733ef
129 changed files with 834 additions and 834 deletions

View file

@ -3,12 +3,12 @@ define('TWITCH_LIMIT', 10); // The default limit
class TwitchApiBridge extends BridgeAbstract{
public $maintainer = "logmanoriginal";
public $name = "Twitch API Bridge";
public $uri = "http://www.twitch.tv";
public $description = "Returns the newest broadcasts or highlights by channel name using the Twitch API (v3)";
const MAINTAINER = "logmanoriginal";
const NAME = "Twitch API Bridge";
const URI = "http://www.twitch.tv";
const DESCRIPTION = "Returns the newest broadcasts or highlights by channel name using the Twitch API (v3)";
public $parameters = array(
const PARAMETERS = array(
'Show Channel Videos'=>array(
'channel'=>array(
'name'=>'Channel',