| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This class handles downloads of remotely-provided extensions
}
/**
- * Determine whether downloading is supported
+ * Determine whether downloading is supported.
*
* @return array
* list of error messages; empty if OK
}
/**
- * Install or upgrade an extension from a remote URL
+ * Install or upgrade an extension from a remote URL.
*
* @param string $key
* The name of the extension being installed.
* URL of a .zip file.
* @param string $localFile
* Path at which to store the .zip file.
- * @return boolean
+ * @return bool
* Whether the download was successful.
*/
public function fetch($remoteFile, $localFile) {
}
/**
- * Extract an extension from a zip file
+ * Extract an extension from a zip file.
*
* @param string $key
* The name of the extension being installed; this usually matches the basedir in the .zip.
* @param string $zipFile
* The local path to a .zip file.
- * @return string|FALSE zip file path
+ * @return string|FALSE
+ * zip file path
*/
public function extractFiles($key, $zipFile) {
$config = CRM_Core_Config::singleton();