summaryrefslogtreecommitdiffstats
path: root/class/FedoraPkgdb.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-08-01 11:01:26 +0200
committerRemi Collet <fedora@famillecollet.com>2010-08-01 11:01:26 +0200
commit524eafd21886717271be06d05bdfe92adce0b6e1 (patch)
tree4080445f98b7530ac4dd78501ec0c7652ba8beed /class/FedoraPkgdb.php
parentde7b6100e3ef554797e86c92e0c3c13ead4dfe67 (diff)
parent06a6a4f777272421970bb827c898f6d36f1ab669 (diff)
Merge http://github.com/trasher/rpmphp
Diffstat (limited to 'class/FedoraPkgdb.php')
-rw-r--r--class/FedoraPkgdb.php12
1 files changed, 6 insertions, 6 deletions
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;
}