From 06a6a4f777272421970bb827c898f6d36f1ab669 Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sun, 1 Aug 2010 10:55:01 +0200 Subject: Applying PEAR coding standards, refs #48 --- class/FedoraPkgdb.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'class/FedoraPkgdb.php') diff --git a/class/FedoraPkgdb.php b/class/FedoraPkgdb.php index d170911..15ddf50 100644 --- a/class/FedoraPkgdb.php +++ b/class/FedoraPkgdb.php @@ -37,12 +37,12 @@ class FedoraPkgdb extends FedoraClient { - private $suburl; + private $_suburl; function __construct (array $options=array()) { parent::__construct('https://admin.fedoraproject.org/pkgdb/', $options); - $this->suburl = 'acls/name/'; + $this->_suburl = 'acls/name/'; $this->logDebug( 3, @@ -80,12 +80,12 @@ class FedoraPkgdb extends FedoraClient function getPackageURL($name) { - return $this->url.$this->suburl.$name; + return $this->url.$this->_suburl.$name; } function getPackageInfo($name, $refresh=false) { - $url=$this->suburl.urlencode($name); + $url=$this->_suburl.urlencode($name); $rep = ($refresh ? false : $this->cache->get($url, __CLASS__)); if ($rep) { $this->logDebug( @@ -108,12 +108,12 @@ class FedoraPkgdb extends FedoraClient ); return false; } - $this->logDebug(8,print_r($rep,true)); + $this->logDebug(8, print_r($rep, true)); $branches = array(); foreach ($rep['packageListings'] as $pack) { $branches[$pack['collection']['branchname']] = $pack; } - $this->logDebug(7,print_r($branches,true)); + $this->logDebug(7, print_r($branches, true)); return $branches; } -- cgit