X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FBrowser.php;h=fa46980699b0e8346c18fc3e393e5168743f10e7;hb=8a88287d94aa842d6ad3155bbc5ce42352e5f633;hp=fc1ff6e7ab0573aeee1f5aaabfaf29e3fb363700;hpb=9c2e4fb9824d9913d19a7f7e24ada6093a409461;p=civicrm-core.git diff --git a/CRM/Extension/Browser.php b/CRM/Extension/Browser.php index fc1ff6e7ab..fa46980699 100644 --- a/CRM/Extension/Browser.php +++ b/CRM/Extension/Browser.php @@ -1,9 +1,9 @@ getRepositoryUrl()); } + /** + * @return string + */ public function getRepositoryUrl() { return $this->repoUrl; } @@ -132,6 +135,8 @@ class CRM_Extension_Browser { /** * Get a description of a particular extension * + * @param $key + * * @return CRM_Extension_Info|NULL */ public function getExtension($key) { @@ -145,6 +150,10 @@ class CRM_Extension_Browser { } } + /** + * @return array + * @throws CRM_Extension_Exception_ParseException + */ private function _discoverRemote() { $tsPath = $this->getTsPath(); $timestamp = FALSE; @@ -181,6 +190,9 @@ class CRM_Extension_Browser { return $this->_remotesDiscovered; } + /** + * @return array + */ private function grabCachedKeyList() { $result = array(); $cachedPath = $this->cacheDir . DIRECTORY_SEPARATOR; @@ -289,6 +301,9 @@ class CRM_Extension_Browser { } } + /** + * @return string + */ private function getTsPath() { return $this->cacheDir . DIRECTORY_SEPARATOR . 'timestamp.txt'; }