/*
+--------------------------------------------------------------------+
- | 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. |
| |
* @package CiviCRM_APIv3
* @subpackage API_Extension
*
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* @version $Id$
*
*/
/**
* Download and install an extension
*
- * @param array $params input parameters
+ * @param array $params input parameters
* - key: string, eg "com.example.myextension"
* - url: string eg "http://repo.com/myextension-1.0.zip"
*
+ * @throws API_Exception
* @return array API result
* @static void
* @access public
* @example ExtensionDownload.php
- *
*/
function civicrm_api3_extension_download($params) {
if (! array_key_exists('key', $params)) {
/**
* Get a list of available extensions
*
+ * @param $params
+ *
* @return array API result
* @static void
* @access public
* @example ExtensionGet.php
- *
*/
function civicrm_api3_extension_get($params) {
$statuses = CRM_Extension_System::singleton()->getManager()->getStatuses();