@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * Freeze the element so that only its value is returned |
| 62 | 62 | * |
| 63 | 63 | * @access public |
| 64 | - * @return void |
|
| 64 | + * @return boolean |
|
| 65 | 65 | */ |
| 66 | 66 | function freeze() |
| 67 | 67 | { |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | * @param object &$caller calling object |
| 162 | 162 | * @since 1.0 |
| 163 | 163 | * @access public |
| 164 | - * @return void |
|
| 164 | + * @return boolean |
|
| 165 | 165 | * @throws |
| 166 | 166 | */ |
| 167 | 167 | function onQuickFormEvent($event, $arg, &$caller) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * Freeze the element so that only its value is returned |
| 62 | 62 | * |
| 63 | 63 | * @access public |
| 64 | - * @return void |
|
| 64 | + * @return boolean |
|
| 65 | 65 | */ |
| 66 | 66 | function freeze() |
| 67 | 67 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | /** |
| 166 | 166 | * Returns the autoFill value |
| 167 | 167 | * @access public |
| 168 | - * @return mixed |
|
| 168 | + * @return string |
|
| 169 | 169 | */ |
| 170 | 170 | public function getAutoFill() |
| 171 | 171 | { |
@@ -174,7 +174,6 @@ discard block |
||
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | 176 | * Sets the autoGrow value |
| 177 | - * @param bool $fill |
|
| 178 | 177 | * @access public |
| 179 | 178 | */ |
| 180 | 179 | public function setAutoGrow($grow) |
@@ -185,7 +184,7 @@ discard block |
||
| 185 | 184 | /** |
| 186 | 185 | * Returns the autoGrow value |
| 187 | 186 | * @access public |
| 188 | - * @return mixed |
|
| 187 | + * @return boolean |
|
| 189 | 188 | */ |
| 190 | 189 | public function getAutoGrow() |
| 191 | 190 | { |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | * |
| 113 | 113 | * @param integer $pageid PageID to get offsets for |
| 114 | 114 | * |
| 115 | - * @return array First and last offsets |
|
| 115 | + * @return integer[] First and last offsets |
|
| 116 | 116 | * @access public |
| 117 | 117 | */ |
| 118 | 118 | function getPageRangeByPageId($pageid = null) |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @return bool|mixed |
|
| 89 | + * @return string |
|
| 90 | 90 | */ |
| 91 | 91 | public static function getPasswordEncryption() |
| 92 | 92 | { |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * @param string $raw |
| 162 | 162 | * @param User $user |
| 163 | 163 | * |
| 164 | - * @return bool |
|
| 164 | + * @return string |
|
| 165 | 165 | */ |
| 166 | 166 | public static function encryptPassword($raw, User $user) |
| 167 | 167 | { |
@@ -960,6 +960,7 @@ discard block |
||
| 960 | 960 | * Disables or enables a user |
| 961 | 961 | * @param int user_id |
| 962 | 962 | * @param int Enable or disable |
| 963 | + * @param integer $active |
|
| 963 | 964 | * @return void |
| 964 | 965 | * @assert (-1,0) === false |
| 965 | 966 | * @assert (1,1) === true |
@@ -990,6 +991,7 @@ discard block |
||
| 990 | 991 | /** |
| 991 | 992 | * Disables a user |
| 992 | 993 | * @param int User id |
| 994 | + * @param integer $user_id |
|
| 993 | 995 | * @return bool |
| 994 | 996 | * @uses UserManager::change_active_state() to actually disable the user |
| 995 | 997 | * @assert (0) === false |
@@ -1006,6 +1008,7 @@ discard block |
||
| 1006 | 1008 | /** |
| 1007 | 1009 | * Enable a user |
| 1008 | 1010 | * @param int User id |
| 1011 | + * @param integer $user_id |
|
| 1009 | 1012 | * @return bool |
| 1010 | 1013 | * @uses UserManager::change_active_state() to actually disable the user |
| 1011 | 1014 | * @assert (0) === false |
@@ -1170,6 +1173,7 @@ discard block |
||
| 1170 | 1173 | * Checks whether the user id exists in the database |
| 1171 | 1174 | * |
| 1172 | 1175 | * @param int User id |
| 1176 | + * @param integer $userId |
|
| 1173 | 1177 | * @return bool True if user id was found, false otherwise |
| 1174 | 1178 | */ |
| 1175 | 1179 | public static function is_user_id_valid($userId) |
@@ -1375,7 +1379,7 @@ discard block |
||
| 1375 | 1379 | * @param array $userInfo user information to avoid query the DB |
| 1376 | 1380 | * returns the /main/img/unknown.jpg image set it at true |
| 1377 | 1381 | * |
| 1378 | - * @return array Array of 2 elements: 'dir' and 'file' which contain |
|
| 1382 | + * @return integer Array of 2 elements: 'dir' and 'file' which contain |
|
| 1379 | 1383 | * the dir and file as the name implies if image does not exist it will |
| 1380 | 1384 | * return the unknow image if anonymous parameter is true if not it returns an empty array |
| 1381 | 1385 | */ |
@@ -1746,7 +1750,7 @@ discard block |
||
| 1746 | 1750 | * @param int $user_id User id |
| 1747 | 1751 | * @param $force Optional parameter to force building after a removal request |
| 1748 | 1752 | * |
| 1749 | - * @return A string containing the XHTML code to dipslay the production list, or FALSE |
|
| 1753 | + * @return boolean|string string containing the XHTML code to dipslay the production list, or FALSE |
|
| 1750 | 1754 | */ |
| 1751 | 1755 | public static function build_production_list($user_id, $force = false, $showdelete = false) |
| 1752 | 1756 | { |
@@ -1782,7 +1786,7 @@ discard block |
||
| 1782 | 1786 | /** |
| 1783 | 1787 | * Returns an array with the user's productions. |
| 1784 | 1788 | * |
| 1785 | - * @param $user_id User id |
|
| 1789 | + * @param integer $user_id User id |
|
| 1786 | 1790 | * @return array An array containing the user's productions |
| 1787 | 1791 | */ |
| 1788 | 1792 | public static function get_user_productions($user_id) |
@@ -1937,7 +1941,7 @@ discard block |
||
| 1937 | 1941 | |
| 1938 | 1942 | /** |
| 1939 | 1943 | * Build a list of extra file already uploaded in $user_folder/{$extra_field}/ |
| 1940 | - * @param $user_id |
|
| 1944 | + * @param integer $user_id |
|
| 1941 | 1945 | * @param $extra_field |
| 1942 | 1946 | * @param bool $force |
| 1943 | 1947 | * @param bool $showdelete |
@@ -2042,7 +2046,7 @@ discard block |
||
| 2042 | 2046 | * @param int $fieldType Field's type |
| 2043 | 2047 | * @param string $displayText Field's language var name |
| 2044 | 2048 | * @param string $default Field's default value |
| 2045 | - * @return int |
|
| 2049 | + * @return boolean |
|
| 2046 | 2050 | */ |
| 2047 | 2051 | public static function create_extra_field($variable, $fieldType, $displayText, $default) |
| 2048 | 2052 | { |
@@ -2076,6 +2080,7 @@ discard block |
||
| 2076 | 2080 | * @param boolean Whether to prefix the fields indexes with "extra_" (might be used by formvalidator) |
| 2077 | 2081 | * @param boolean Whether to return invisible fields as well |
| 2078 | 2082 | * @param boolean Whether to split multiple-selection fields or not |
| 2083 | + * @param boolean $field_filter |
|
| 2079 | 2084 | * @return array Array of fields => value for the given user |
| 2080 | 2085 | */ |
| 2081 | 2086 | public static function get_extra_user_data( |
@@ -2262,7 +2267,6 @@ discard block |
||
| 2262 | 2267 | /** |
| 2263 | 2268 | * Get all the extra field information of a certain field (also the options) |
| 2264 | 2269 | * |
| 2265 | - * @param int $field_name the name of the field we want to know everything of |
|
| 2266 | 2270 | * @return array $return containing all th information about the extra profile field |
| 2267 | 2271 | * @author Julio Montoya |
| 2268 | 2272 | * @deprecated |
@@ -2307,6 +2311,7 @@ discard block |
||
| 2307 | 2311 | /** |
| 2308 | 2312 | * Get extra user data by field variable |
| 2309 | 2313 | * @param string field variable |
| 2314 | + * @param string $field_variable |
|
| 2310 | 2315 | * @return array data |
| 2311 | 2316 | */ |
| 2312 | 2317 | public static function get_extra_user_data_by_field_variable($field_variable) |
@@ -2865,7 +2870,7 @@ discard block |
||
| 2865 | 2870 | * @param string User ID |
| 2866 | 2871 | * @param string course directory |
| 2867 | 2872 | * @param string resourcetype: images, all |
| 2868 | - * @return int User ID (or false if not found) |
|
| 2873 | + * @return string User ID (or false if not found) |
|
| 2869 | 2874 | */ |
| 2870 | 2875 | public static function get_user_upload_files_by_course($user_id, $course, $resourcetype = 'all') |
| 2871 | 2876 | { |
@@ -2945,7 +2950,7 @@ discard block |
||
| 2945 | 2950 | /** |
| 2946 | 2951 | * Adds a new API key to the users' account |
| 2947 | 2952 | * @param int Optional user ID (defaults to the results of api_get_user_id()) |
| 2948 | - * @return boolean True on success, false on failure |
|
| 2953 | + * @return false|string True on success, false on failure |
|
| 2949 | 2954 | */ |
| 2950 | 2955 | public static function add_api_key($user_id = null, $api_service = 'dokeos') |
| 2951 | 2956 | { |
@@ -3000,6 +3005,7 @@ discard block |
||
| 3000 | 3005 | * Regenerate an API key from the user's account |
| 3001 | 3006 | * @param int user ID (defaults to the results of api_get_user_id()) |
| 3002 | 3007 | * @param string API key's internal ID |
| 3008 | + * @param string $api_service |
|
| 3003 | 3009 | * @return int num |
| 3004 | 3010 | */ |
| 3005 | 3011 | public static function update_api_key($user_id, $api_service) |
@@ -3029,6 +3035,7 @@ discard block |
||
| 3029 | 3035 | /** |
| 3030 | 3036 | * @param int user ID (defaults to the results of api_get_user_id()) |
| 3031 | 3037 | * @param string API key's internal ID |
| 3038 | + * @param string $api_service |
|
| 3032 | 3039 | * @return int row ID, or return false if not found |
| 3033 | 3040 | */ |
| 3034 | 3041 | public static function get_api_key_id($user_id, $api_service) |
@@ -3240,7 +3247,8 @@ discard block |
||
| 3240 | 3247 | * @param int user_id |
| 3241 | 3248 | * @param int field_id |
| 3242 | 3249 | * @param bool show links or not |
| 3243 | - * @return array |
|
| 3250 | + * @param integer $user_id |
|
| 3251 | + * @return string |
|
| 3244 | 3252 | */ |
| 3245 | 3253 | public static function get_user_tags_to_string($user_id, $field_id, $show_links = true) |
| 3246 | 3254 | { |
@@ -3285,6 +3293,8 @@ discard block |
||
| 3285 | 3293 | * Get the tag id |
| 3286 | 3294 | * @param int tag |
| 3287 | 3295 | * @param int field_id |
| 3296 | + * @param string $tag |
|
| 3297 | + * @param integer $field_id |
|
| 3288 | 3298 | * @return int returns 0 if fails otherwise the tag id |
| 3289 | 3299 | */ |
| 3290 | 3300 | public static function get_tag_id($tag, $field_id) |
@@ -3331,7 +3341,7 @@ discard block |
||
| 3331 | 3341 | * @param mixed tag |
| 3332 | 3342 | * @param int The user id |
| 3333 | 3343 | * @param int field id of the tag |
| 3334 | - * @return bool |
|
| 3344 | + * @return boolean|null |
|
| 3335 | 3345 | */ |
| 3336 | 3346 | public static function add_tag($tag, $user_id, $field_id) |
| 3337 | 3347 | { |
@@ -4151,7 +4161,7 @@ discard block |
||
| 4151 | 4161 | * Add subscribed users to a user by relation type |
| 4152 | 4162 | * @param int $userId The user id |
| 4153 | 4163 | * @param array $subscribedUsersId The id of suscribed users |
| 4154 | - * @param action $relationType The relation type |
|
| 4164 | + * @param integer $relationType The relation type |
|
| 4155 | 4165 | */ |
| 4156 | 4166 | public static function subscribeUsersToUser($userId, $subscribedUsersId, $relationType, $deleteUsersBeforeInsert = false) |
| 4157 | 4167 | { |
@@ -4216,6 +4226,8 @@ discard block |
||
| 4216 | 4226 | * This function check if an user is followed by human resources manager |
| 4217 | 4227 | * @param int User id |
| 4218 | 4228 | * @param int Human resources manager |
| 4229 | + * @param integer $user_id |
|
| 4230 | + * @param integer $hr_dept_id |
|
| 4219 | 4231 | * @return bool |
| 4220 | 4232 | */ |
| 4221 | 4233 | public static function is_user_followed_by_drh($user_id, $hr_dept_id) |
@@ -4288,6 +4300,8 @@ discard block |
||
| 4288 | 4300 | * Determines if a user is a gradebook certified |
| 4289 | 4301 | * @param int The category id of gradebook |
| 4290 | 4302 | * @param int The user id |
| 4303 | + * @param integer $cat_id |
|
| 4304 | + * @param integer $user_id |
|
| 4291 | 4305 | * @return boolean |
| 4292 | 4306 | */ |
| 4293 | 4307 | public static function is_user_certified($cat_id, $user_id) |
@@ -4310,6 +4324,8 @@ discard block |
||
| 4310 | 4324 | * Gets the info about a gradebook certificate for a user by course |
| 4311 | 4325 | * @param string The course code |
| 4312 | 4326 | * @param int The user id |
| 4327 | + * @param integer $course_code |
|
| 4328 | + * @param integer $user_id |
|
| 4313 | 4329 | * @return array if there is not information return false |
| 4314 | 4330 | */ |
| 4315 | 4331 | public static function get_info_gradebook_certificate($course_code, $user_id) |
@@ -4773,7 +4789,7 @@ discard block |
||
| 4773 | 4789 | } |
| 4774 | 4790 | |
| 4775 | 4791 | /** |
| 4776 | - * @return array |
|
| 4792 | + * @return string[] |
|
| 4777 | 4793 | */ |
| 4778 | 4794 | static function get_user_field_types() |
| 4779 | 4795 | { |
@@ -5093,7 +5109,7 @@ discard block |
||
| 5093 | 5109 | * Get either a Gravatar URL or complete image tag for a specified email address. |
| 5094 | 5110 | * |
| 5095 | 5111 | * @param string $email The email address |
| 5096 | - * @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ] |
|
| 5112 | + * @param integer $s Size in pixels, defaults to 80px [ 1 - 2048 ] |
|
| 5097 | 5113 | * @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ] |
| 5098 | 5114 | * @param string $r Maximum rating (inclusive) [ g | pg | r | x ] |
| 5099 | 5115 | * @param boole $img True to return a complete IMG tag False for just the URL |
@@ -97,6 +97,7 @@ discard block |
||
| 97 | 97 | * @param string contains the character encoding string to use |
| 98 | 98 | * @param boolean lets you set if you want special characters in the output |
| 99 | 99 | * converted to HTML entities |
| 100 | + * @param string $sEncoding |
|
| 100 | 101 | * |
| 101 | 102 | */ |
| 102 | 103 | public function __construct($sEncoding=XAJAX_DEFAULT_CHAR_ENCODING, $bOutputEntities=false) |
@@ -223,6 +224,8 @@ discard block |
||
| 223 | 224 | * @param string contains the id of an HTML element |
| 224 | 225 | * @param string the part of the element you wish to clear ("innerHTML", |
| 225 | 226 | * "value", etc.) |
| 227 | + * @param string $sTarget |
|
| 228 | + * @param string $sAttribute |
|
| 226 | 229 | */ |
| 227 | 230 | function addClear($sTarget,$sAttribute) |
| 228 | 231 | { |
@@ -279,6 +282,7 @@ discard block |
||
| 279 | 282 | * <i>Usage:</i> <kbd>$objResponse->addScript("var x = prompt('get some text');");</kbd> |
| 280 | 283 | * |
| 281 | 284 | * @param string contains Javascript code to be executed |
| 285 | + * @param string $sJS |
|
| 282 | 286 | */ |
| 283 | 287 | function addScript($sJS) |
| 284 | 288 | { |
@@ -290,8 +294,6 @@ discard block |
||
| 290 | 294 | * |
| 291 | 295 | * <i>Usage:</i> <kbd>$objResponse->addScriptCall("myJSFunction", "arg 1", "arg 2", 12345);</kbd> |
| 292 | 296 | * |
| 293 | - * @param string $sFunc the name of a Javascript function |
|
| 294 | - * @param mixed $args,... optional arguments to pass to the Javascript function |
|
| 295 | 297 | */ |
| 296 | 298 | function addScriptCall() { |
| 297 | 299 | $arguments = func_get_args(); |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | * @param int $sessionId |
| 130 | 130 | * @param string $downloadCertificateLink |
| 131 | 131 | * @param string $badgeLink |
| 132 | - * @return mixed|string |
|
| 132 | + * @return string |
|
| 133 | 133 | */ |
| 134 | 134 | function generateLPFinalItemTemplate($lpItemId, $courseCode, $sessionId = 0, $downloadCertificateLink = '', $badgeLink = '') |
| 135 | 135 | { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** |
| 243 | - * @param doc_id id of document (id in mainDb.document table) |
|
| 243 | + * @param doc_id string of document (id in mainDb.document table) |
|
| 244 | 244 | * @author Sebastien Piraux <[email protected]> |
| 245 | 245 | * @desc Record information for upload event |
| 246 | 246 | * used in the works tool to record informations when |
@@ -314,6 +314,8 @@ discard block |
||
| 314 | 314 | * @param int session_id |
| 315 | 315 | * @param int learnpath_id (id of the learnpath) |
| 316 | 316 | * @param int learnpath_item_id (id of the learnpath_item) |
| 317 | + * @param integer $weighting |
|
| 318 | + * @param integer $session_id |
|
| 317 | 319 | * |
| 318 | 320 | * @author Sebastien Piraux <[email protected]> |
| 319 | 321 | * @author Julio Montoya Armas <[email protected]> Reworked 2010 |
@@ -415,7 +417,9 @@ discard block |
||
| 415 | 417 | * @param integer Session ID (from the session table). Default value of null means "get from context". |
| 416 | 418 | * @param integer Learnpath ID (from c_lp table). Default value of null means "get from context". |
| 417 | 419 | * @param integer Learnpath item ID (from the c_lp_item table). Default value of null means "get from context". |
| 418 | - * @return boolean Result of the insert query |
|
| 420 | + * @param integer $exe_id |
|
| 421 | + * @param integer $position |
|
| 422 | + * @return false|string Result of the insert query |
|
| 419 | 423 | */ |
| 420 | 424 | public static function saveQuestionAttempt( |
| 421 | 425 | $score, |
@@ -585,6 +589,7 @@ discard block |
||
| 585 | 589 | * @param int Whether this answer is correct (1) or not (0) |
| 586 | 590 | * @param string Coordinates of this point (e.g. 123;324) |
| 587 | 591 | * @param bool update results? |
| 592 | + * @param integer $exe_id |
|
| 588 | 593 | * @return boolean Result of the insert query |
| 589 | 594 | * @uses Course code and user_id from global scope $_cid and $_user |
| 590 | 595 | */ |
@@ -717,7 +722,6 @@ discard block |
||
| 717 | 722 | /** |
| 718 | 723 | * Get every email stored in the database |
| 719 | 724 | * |
| 720 | - * @param int $etId |
|
| 721 | 725 | * @return type |
| 722 | 726 | * @assert () !== false |
| 723 | 727 | */ |
@@ -785,11 +789,11 @@ discard block |
||
| 785 | 789 | /** |
| 786 | 790 | * Save the new message for one event and for one language |
| 787 | 791 | * |
| 788 | - * @param string $eventName |
|
| 792 | + * @param string $event_name |
|
| 789 | 793 | * @param array $users |
| 790 | 794 | * @param string $message |
| 791 | 795 | * @param string $subject |
| 792 | - * @param string $eventMessageLanguage |
|
| 796 | + * @param string $event_message_language |
|
| 793 | 797 | * @param int $activated |
| 794 | 798 | */ |
| 795 | 799 | public static function save_event_type_message($event_name, $users, $message, $subject, $event_message_language, $activated) |
@@ -923,10 +927,10 @@ discard block |
||
| 923 | 927 | } |
| 924 | 928 | |
| 925 | 929 | /** |
| 926 | - * @param $user_id |
|
| 930 | + * @param integer $user_id |
|
| 927 | 931 | * @param $exerciseId |
| 928 | - * @param $lp_id |
|
| 929 | - * @param $lp_item_id |
|
| 932 | + * @param integer $lp_id |
|
| 933 | + * @param integer $lp_item_id |
|
| 930 | 934 | * @return int |
| 931 | 935 | */ |
| 932 | 936 | public static function get_attempt_count_not_finished($user_id, $exerciseId, $lp_id, $lp_item_id) |
@@ -1103,6 +1107,7 @@ discard block |
||
| 1103 | 1107 | * @param int exercise id |
| 1104 | 1108 | * @param int $courseId |
| 1105 | 1109 | * @param int session id |
| 1110 | + * @param integer $user_id |
|
| 1106 | 1111 | * @return array with the results |
| 1107 | 1112 | * |
| 1108 | 1113 | */ |
@@ -1198,6 +1203,7 @@ discard block |
||
| 1198 | 1203 | * @param int exercise id |
| 1199 | 1204 | * @param int $courseId |
| 1200 | 1205 | * @param int session id |
| 1206 | + * @param integer $user_id |
|
| 1201 | 1207 | * @return array with the results |
| 1202 | 1208 | * |
| 1203 | 1209 | */ |
@@ -1238,6 +1244,7 @@ discard block |
||
| 1238 | 1244 | * @param int exercise id |
| 1239 | 1245 | * @param string course code |
| 1240 | 1246 | * @param int session id |
| 1247 | + * @param integer $exe_id |
|
| 1241 | 1248 | * @return array with the results |
| 1242 | 1249 | * |
| 1243 | 1250 | */ |
@@ -1287,6 +1294,8 @@ discard block |
||
| 1287 | 1294 | * @param int lp id |
| 1288 | 1295 | * @param int lp item id |
| 1289 | 1296 | * @param string order asc or desc |
| 1297 | + * @param integer $courseId |
|
| 1298 | + * @param string $order |
|
| 1290 | 1299 | * @return array with the results |
| 1291 | 1300 | * |
| 1292 | 1301 | */ |
@@ -1346,7 +1355,7 @@ discard block |
||
| 1346 | 1355 | * @param int exercise id |
| 1347 | 1356 | * @param int $courseId |
| 1348 | 1357 | * @param int session id |
| 1349 | - * @return array with the results |
|
| 1358 | + * @return string with the results |
|
| 1350 | 1359 | * |
| 1351 | 1360 | */ |
| 1352 | 1361 | public static function count_exercise_attempts_by_user($user_id, $exercise_id, $courseId, $session_id = 0) |
@@ -1522,7 +1531,7 @@ discard block |
||
| 1522 | 1531 | * @param int exercise id |
| 1523 | 1532 | * @param int course id |
| 1524 | 1533 | * @param int session id |
| 1525 | - * @return array with the results |
|
| 1534 | + * @return integer with the results |
|
| 1526 | 1535 | * |
| 1527 | 1536 | */ |
| 1528 | 1537 | public static function get_count_exercises_attempted_by_course($courseId, $session_id = 0) |
@@ -1773,7 +1782,7 @@ discard block |
||
| 1773 | 1782 | * @param string $virtualTime The amount of time to be added, in a hh:mm:ss format. If int, we consider it is expressed in hours. |
| 1774 | 1783 | * @param string $ip IP address to go on record for this time record |
| 1775 | 1784 | * |
| 1776 | - * @return True on successful insertion, false otherwise |
|
| 1785 | + * @return boolean on successful insertion, false otherwise |
|
| 1777 | 1786 | */ |
| 1778 | 1787 | public static function eventAddVirtualCourseTime( |
| 1779 | 1788 | $courseId, |