From 7be2301fb83c55be4e05a07777681f55ddf908a2 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 29 Jan 2009 02:55:21 +0100 Subject: [PATCH] [svn r18069] Minor - Improved phpdoc --- main/inc/lib/add_course.lib.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main/inc/lib/add_course.lib.inc.php b/main/inc/lib/add_course.lib.inc.php index 3681cadbd8..8cea6fca88 100644 --- a/main/inc/lib/add_course.lib.inc.php +++ b/main/inc/lib/add_course.lib.inc.php @@ -80,8 +80,12 @@ function generate_course_code($course_title) * Defines the four needed keys to create a course based on several parameters. * @return array with the needed keys ["currentCourseCode"], ["currentCourseId"], ["currentCourseDbName"], ["currentCourseRepository"] * - * @param $wantedCode the code you want for this course - * @param string prefix // prefix added for ALL keys + * @param string The code you want for this course + * @param string Prefix added for ALL keys + * @param string Prefix added for databases only + * @param string Prefix added for paths only + * @param boolean Add unique prefix + * @param boolean Use code-independent keys * @todo eliminate globals */ function define_course_keys($wantedCode, $prefix4all = "", $prefix4baseName = "", $prefix4path = "", $addUniquePrefix = false, $useCodeInDepedentKeys = true)