diff options
| author | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-08-01 10:55:01 +0200 | 
|---|---|---|
| committer | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-08-01 10:55:01 +0200 | 
| commit | 06a6a4f777272421970bb827c898f6d36f1ab669 (patch) | |
| tree | 4080445f98b7530ac4dd78501ec0c7652ba8beed /class/FedoraPkgdb.php | |
| parent | 8563cd5e8404d11c0a76148c103acc363bd5776e (diff) | |
Applying PEAR coding standards, refs #48
Diffstat (limited to 'class/FedoraPkgdb.php')
| -rw-r--r-- | class/FedoraPkgdb.php | 12 | 
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;      }  | 
