[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

@ -5,12 +5,12 @@ class WordPressBridge extends HttpCachingBridgeAbstract {
public $sitename; // Name of the site
public $maintainer = "aledeg";
public $name = "Wordpress Bridge";
public $uri = "https://wordpress.org/";
public $description = "Returns the 3 newest full posts of a Wordpress blog";
const MAINTAINER = "aledeg";
const NAME = "Wordpress Bridge";
const URI = "https://wordpress.org/";
const DESCRIPTION = "Returns the 3 newest full posts of a Wordpress blog";
public $parameters = array( array(
const PARAMETERS = array( array(
'url'=>array(
'name'=>'Blog URL',
'required'=>true