+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* system.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
private $downloader = NULL;
/**
- * The URL of the remote extensions repository
+ * The URL of the remote extensions repository.
*
* @var string|FALSE
*/
private $_repoUrl = NULL;
+ /**
+ * @var array
+ * Construction parameters. These are primarily retained so
+ * that they can influence the cache name.
+ */
+ protected $parameters;
+
/**
* @param bool $fresh
* TRUE to force creation of a new system.
if (!array_key_exists('cmsRootPath', $parameters)) {
$parameters['cmsRootPath'] = $config->userSystem->cmsRootPath();
}
+ if (!array_key_exists('domain_id', $parameters)) {
+ $parameters['domain_id'] = CRM_Core_Config::domainID();
+ }
ksort($parameters); // guaranteed ordering - useful for md5(serialize($parameters))
$this->parameters = $parameters;
}
/**
- * Get a container which represents all available extensions
+ * Get a container which represents all available extensions.
*
* @return CRM_Extension_Container_Interface
*/
}
/**
- * Get the container to which new extensions are installed
+ * Get the container to which new extensions are installed.
*
* This container should be a particular, writeable directory.
*
}
/**
- * Get the service which provides runtime information about extensions
+ * Get the service which provides runtime information about extensions.
*
* @return CRM_Extension_Mapper
*/
}
/**
- * Get the service for enabling and disabling extensions
+ * Get the service for enabling and disabling extensions.
*
* @return CRM_Extension_Manager
*/
}
/**
- * Determine the URL which provides a feed of available extensions
+ * Determine the URL which provides a feed of available extensions.
*
* @return string|FALSE
*/