Completed
Push — 1.10.x ( 77bf11...88842f )
by Angel Fernando Quiroz
43:15
created
main/newscorm/lp_final_item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
  * @param int $sessionId
117 117
  * @param string $downloadCertificateLink
118 118
  * @param string $badgeLink
119
- * @return mixed|string
119
+ * @return string
120 120
  */
121 121
 function generateLPFinalItemTemplate($lpItemId, $courseCode, $sessionId=0, $downloadCertificateLink='', $badgeLink='')
122 122
 {
Please login to merge, or discard this patch.
main/forum/forumfunction.inc.php 1 patch
Doc Comments   +17 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
  * an up and down icon except for the first (no up icon) and the last (no down icon)
1048 1048
  *          The key of this $list array is the id of the item.
1049 1049
  *
1050
- * @return void HTML
1050
+ * @return string HTML
1051 1051
  **/
1052 1052
 function return_up_down_icon($content, $id, $list)
1053 1053
 {
@@ -2007,7 +2007,7 @@  discard block
 block discarded – undo
2007 2007
  * This function retrieves forum thread users details
2008 2008
  * @param   int Thread ID
2009 2009
  * @param   string  Course DB name (optional)
2010
- * @return  resource array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2010
+ * @return  Doctrine\DBAL\Driver\Statement|null array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2011 2011
  * @author Christian Fasanando <[email protected]>,
2012 2012
  * @todo     this function need to be improved
2013 2013
  * @version octubre 2008, dokeos 1.8
@@ -2062,7 +2062,7 @@  discard block
 block discarded – undo
2062 2062
  * This function retrieves forum thread users qualify
2063 2063
  * @param   int Thread ID
2064 2064
  * @param   string  Course DB name (optional)
2065
- * @return  array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2065
+ * @return  Doctrine\DBAL\Driver\Statement|null Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2066 2066
  * @author Jhon Hinojosa
2067 2067
  * @todo     this function need to be improved
2068 2068
  */
@@ -2129,7 +2129,7 @@  discard block
 block discarded – undo
2129 2129
  * This function retrieves forum thread users not qualify
2130 2130
  * @param   int Thread ID
2131 2131
  * @param   string  Course DB name (optional)
2132
- * @return  array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2132
+ * @return  Doctrine\DBAL\Driver\Statement|null Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[])
2133 2133
  * @author   Jhon Hinojosa<[email protected]>,
2134 2134
  * @version oct 2008, dokeos 1.8
2135 2135
  */
@@ -2733,7 +2733,7 @@  discard block
 block discarded – undo
2733 2733
  *  2. replythread: Replying to a thread ($action = replythread) => I-frame with the complete thread (if enabled)
2734 2734
  *  3. replymessage: Replying to a message ($action =replymessage) => I-frame with the complete thread (if enabled) (I first thought to put and I-frame with the message only)
2735 2735
  *  4. quote: Quoting a message ($action= quotemessage) => I-frame with the complete thread (if enabled). The message will be in the reply. (I first thought not to put an I-frame here)
2736
- * @return void HMTL
2736
+ * @return false|null HMTL
2737 2737
  * @author Patrick Cool <[email protected]>, Ghent University
2738 2738
  * @version february 2006, dokeos 1.8
2739 2739
  */
@@ -3153,6 +3153,10 @@  discard block
 block discarded – undo
3153 3153
  * @param integer contains the information the current user id
3154 3154
  * @param integer contains the information the current thread id
3155 3155
  * @param integer contains the information the current qualify
3156
+ * @param string $option
3157
+ * @param integer $course_id
3158
+ * @param integer $user_id
3159
+ * @param integer $thread_id
3156 3160
  * @return void
3157 3161
  * <code>$option=1 obtained the qualification of the current thread</code>
3158 3162
  * @author Isaac Flores <[email protected]>, U.N.A.S University
@@ -3710,6 +3714,8 @@  discard block
 block discarded – undo
3710 3714
  *
3711 3715
  * @author Patrick Cool <[email protected]>, Ghent University
3712 3716
  * @version february 2006, dokeos 1.8
3717
+ * @param string $last_post_id
3718
+ * @param string $post_date
3713 3719
  */
3714 3720
 function updateThreadInfo($thread_id, $last_post_id, $post_date)
3715 3721
 {
@@ -4013,6 +4019,8 @@  discard block
 block discarded – undo
4013 4019
  *
4014 4020
  * @param string  Content type (post, thread, forum, forum_category)
4015 4021
  * @param int     Item DB ID
4022
+ * @param string $content
4023
+ * @param integer $id
4016 4024
  * @return string language variable
4017 4025
  * @author Patrick Cool <[email protected]>, Ghent University
4018 4026
  * @version february 2006, dokeos 1.8
@@ -4490,6 +4498,7 @@  discard block
 block discarded – undo
4490 4498
 /**
4491 4499
  * Display the search results
4492 4500
  * @param string
4501
+ * @param string $search_term
4493 4502
  * @return void display the results
4494 4503
  * @author Patrick Cool <[email protected]>, Ghent University, Belgium
4495 4504
  * @version march 2008, dokeos 1.8.5
@@ -4619,7 +4628,7 @@  discard block
 block discarded – undo
4619 4628
  * This function adds an attachment file into a forum
4620 4629
  * @param string $file_comment  a comment about file
4621 4630
  * @param int $last_id from forum_post table
4622
- * @return int|bool
4631
+ * @return false|null
4623 4632
  */
4624 4633
 function add_forum_attachment_file($file_comment, $last_id)
4625 4634
 {
@@ -4830,7 +4839,7 @@  discard block
 block discarded – undo
4830 4839
  * @param post id
4831 4840
  * @param int $id_attach
4832 4841
  * @param bool $display to show or not result message
4833
- * @return void
4842
+ * @return integer
4834 4843
  * @author Julio Montoya Dokeos
4835 4844
  * @version october 2014, chamilo 1.9.8
4836 4845
  */
@@ -5112,7 +5121,7 @@  discard block
 block discarded – undo
5112 5121
  * @param integer $forum_id the id of the forum
5113 5122
  * @param integer $thread_id the id of the thread
5114 5123
  * @param integer $post_id the id of the post
5115
- * @return bool
5124
+ * @return false|null
5116 5125
  *
5117 5126
  * @author Patrick Cool <[email protected]>, Ghent University, Belgium
5118 5127
  * @version May 2008, dokeos 1.8.5
Please login to merge, or discard this patch.