@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * Freeze the element so that only its value is returned |
| 61 | 61 | * |
| 62 | 62 | * @access public |
| 63 | - * @return void |
|
| 63 | + * @return boolean |
|
| 64 | 64 | */ |
| 65 | 65 | function freeze() |
| 66 | 66 | { |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * Freeze the element so that only its value is returned |
| 61 | 61 | * |
| 62 | 62 | * @access public |
| 63 | - * @return void |
|
| 63 | + * @return boolean |
|
| 64 | 64 | */ |
| 65 | 65 | function freeze() |
| 66 | 66 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | * |
| 108 | 108 | * @param integer $pageid PageID to get offsets for |
| 109 | 109 | * |
| 110 | - * @return array First and last offsets |
|
| 110 | + * @return integer[] First and last offsets |
|
| 111 | 111 | * @access public |
| 112 | 112 | */ |
| 113 | 113 | function getPageRangeByPageId($pageid = null) |
@@ -98,6 +98,7 @@ discard block |
||
| 98 | 98 | * CRYPT_DES_MODE_ECB or CRYPT_DES_MODE_CBC. If not explictly set, CRYPT_DES_MODE_CBC will be used. |
| 99 | 99 | * |
| 100 | 100 | * @param optional Integer $mode |
| 101 | + * @param integer $mode |
|
| 101 | 102 | * @return Crypt_TripleDES |
| 102 | 103 | * @access public |
| 103 | 104 | */ |
@@ -318,6 +319,7 @@ discard block |
||
| 318 | 319 | * |
| 319 | 320 | * @access public |
| 320 | 321 | * @param String $plaintext |
| 322 | + * @return string |
|
| 321 | 323 | */ |
| 322 | 324 | function encrypt($plaintext) |
| 323 | 325 | { |
@@ -563,6 +563,7 @@ discard block |
||
| 563 | 563 | * If not explictly set, CRYPT_TWOFISH_MODE_CBC will be used. |
| 564 | 564 | * |
| 565 | 565 | * @param optional Integer $mode |
| 566 | + * @param integer $mode |
|
| 566 | 567 | * @access public |
| 567 | 568 | */ |
| 568 | 569 | function Crypt_Twofish($mode = CRYPT_TWOFISH_MODE_CBC) |
@@ -1072,6 +1073,7 @@ discard block |
||
| 1072 | 1073 | * |
| 1073 | 1074 | * @see Crypt_Twofish::_unpad() |
| 1074 | 1075 | * @access private |
| 1076 | + * @param string $text |
|
| 1075 | 1077 | */ |
| 1076 | 1078 | function _pad($text) |
| 1077 | 1079 | { |
@@ -1099,6 +1101,7 @@ discard block |
||
| 1099 | 1101 | * |
| 1100 | 1102 | * @see Crypt_Twofish::_pad() |
| 1101 | 1103 | * @access private |
| 1104 | + * @param string $text |
|
| 1102 | 1105 | */ |
| 1103 | 1106 | function _unpad($text) |
| 1104 | 1107 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * Gets html pages and compose them into a learning path |
| 40 | 40 | * @param array The files that will compose the generated learning path. Unused so far. |
| 41 | - * @return boolean False if file does not exit. Nothing otherwise. |
|
| 41 | + * @return false|null False if file does not exit. Nothing otherwise. |
|
| 42 | 42 | */ |
| 43 | 43 | public function make_lp($files = array()) |
| 44 | 44 | { |
@@ -92,6 +92,7 @@ discard block |
||
| 92 | 92 | * Manages chapter splitting |
| 93 | 93 | * @param string Chapter header |
| 94 | 94 | * @param string Content |
| 95 | + * @param string $content |
|
| 95 | 96 | * @return void |
| 96 | 97 | */ |
| 97 | 98 | function dealPerChapter($header, $content) |
@@ -164,6 +165,7 @@ discard block |
||
| 164 | 165 | * Manages page splitting |
| 165 | 166 | * @param string Page header |
| 166 | 167 | * @param string Page body |
| 168 | + * @param string $body |
|
| 167 | 169 | * @return void |
| 168 | 170 | */ |
| 169 | 171 | function dealPerPage($header, $body) |
@@ -735,7 +735,6 @@ |
||
| 735 | 735 | * lock = the user can no longer use this account |
| 736 | 736 | * @author Patrick Cool <[email protected]>, Ghent University |
| 737 | 737 | * @param int $active the current state of the account |
| 738 | - * @param int $user_id The user id |
|
| 739 | 738 | * @param string $urlParams |
| 740 | 739 | * |
| 741 | 740 | * @return string Some HTML-code with the lock/unlock button |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | |
| 21 | 21 | define('WS_ERROR_SECRET_KEY', 1); |
| 22 | 22 | |
| 23 | +/** |
|
| 24 | + * @param integer $code |
|
| 25 | + */ |
|
| 23 | 26 | function return_error($code) { |
| 24 | 27 | $fault = null; |
| 25 | 28 | switch ($code) { |
@@ -453,6 +453,7 @@ |
||
| 453 | 453 | * @param string Session id field name |
| 454 | 454 | * @param string Session id value |
| 455 | 455 | * @param int State (1 to subscribe, 0 to unsubscribe) |
| 456 | + * @param integer $state |
|
| 456 | 457 | * @return mixed True on success, WSError otherwise |
| 457 | 458 | */ |
| 458 | 459 | protected function changeCourseSubscription($course_id_field_name, $course_id_value, $session_id_field_name, $session_id_value, $state) { |