summaryrefslogtreecommitdiff
path: root/includes/updater.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-21 00:28:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-21 00:28:14 +0000
commit19c7193c4c3b54efc053d8fee98cb5d00fd79c18 (patch)
tree49dc4099cf3206a6e8b05b074691285a3c3e85ac /includes/updater.inc
parent34a7bbcf54553126129a27b695eb417d88bb91f6 (diff)
downloadbrdo-19c7193c4c3b54efc053d8fee98cb5d00fd79c18.tar.gz
brdo-19c7193c4c3b54efc053d8fee98cb5d00fd79c18.tar.bz2
- Patch #855410 by aspilicious: add missing doc and newlines in updater.inc.
Diffstat (limited to 'includes/updater.inc')
-rw-r--r--includes/updater.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/updater.inc b/includes/updater.inc
index 074d3780d..d7bef08a5 100644
--- a/includes/updater.inc
+++ b/includes/updater.inc
@@ -23,6 +23,7 @@ interface DrupalUpdaterInterface {
/**
* Checks if the project is installed.
+ *
* @return bool
*/
public function isInstalled();
@@ -49,6 +50,7 @@ interface DrupalUpdaterInterface {
* @param string $directory
*
* @return bool
+ * TRUE if the project is installed, FALSE if not.
*/
public static function canUpdateDirectory($directory);
@@ -105,6 +107,7 @@ class Updater {
*
* @param string $directory
* Extracted Drupal project.
+ *
* @return string
* The class name which can work with this project type.
*/
@@ -129,6 +132,7 @@ class Updater {
*
* @param string $directory
* Directory to search in.
+ *
* @return string
* Path to the info file.
*/
@@ -155,7 +159,9 @@ class Updater {
* provide their canonical name.
*
* @param string $directory
+ *
* @return string
+ * The name of the project.
*/
public static function getProjectName($directory) {
return basename($directory);
@@ -166,7 +172,9 @@ class Updater {
*
* @param string $directory
* Directory to search for the info file.
+ *
* @return string
+ * The title of the project.
*/
public static function getProjectTitle($directory) {
$info_file = self::findInfoFile($directory);
@@ -182,6 +190,7 @@ class Updater {
*
* @param array $overrides
* An array of overrides for the default parameters.
+ *
* @return array
* An array of configuration parameters for an update or install operation.
*/