<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* system.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
return (FALSE !== $this->getRepositoryUrl());
}
+ /**
+ * @return string
+ */
public function getRepositoryUrl() {
return $this->repoUrl;
}
/**
* Get a description of a particular extension
*
+ * @param $key
+ *
* @return CRM_Extension_Info|NULL
*/
public function getExtension($key) {
}
}
+ /**
+ * @return array
+ * @throws CRM_Extension_Exception_ParseException
+ */
private function _discoverRemote() {
$tsPath = $this->getTsPath();
$timestamp = FALSE;
return $this->_remotesDiscovered;
}
+ /**
+ * @return array
+ */
private function grabCachedKeyList() {
$result = array();
$cachedPath = $this->cacheDir . DIRECTORY_SEPARATOR;
}
}
+ /**
+ * @return string
+ */
private function getTsPath() {
return $this->cacheDir . DIRECTORY_SEPARATOR . 'timestamp.txt';
}