@@ -1058,7 +1058,7 @@ discard block |
||
1058 | 1058 | * an up and down icon except for the first (no up icon) and the last (no down icon) |
1059 | 1059 | * The key of this $list array is the id of the item. |
1060 | 1060 | * |
1061 | - * @return void HTML |
|
1061 | + * @return string HTML |
|
1062 | 1062 | **/ |
1063 | 1063 | function return_up_down_icon($content, $id, $list) |
1064 | 1064 | { |
@@ -2011,7 +2011,7 @@ discard block |
||
2011 | 2011 | * This function retrieves forum thread users details |
2012 | 2012 | * @param int Thread ID |
2013 | 2013 | * @param string Course DB name (optional) |
2014 | - * @return resource array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2014 | + * @return Doctrine\DBAL\Driver\Statement|null array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2015 | 2015 | * @author Christian Fasanando <[email protected]>, |
2016 | 2016 | * @todo this function need to be improved |
2017 | 2017 | * @version octubre 2008, dokeos 1.8 |
@@ -2066,7 +2066,7 @@ discard block |
||
2066 | 2066 | * This function retrieves forum thread users qualify |
2067 | 2067 | * @param int Thread ID |
2068 | 2068 | * @param string Course DB name (optional) |
2069 | - * @return array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2069 | + * @return Doctrine\DBAL\Driver\Statement|null Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2070 | 2070 | * @author Jhon Hinojosa |
2071 | 2071 | * @todo this function need to be improved |
2072 | 2072 | */ |
@@ -2133,7 +2133,7 @@ discard block |
||
2133 | 2133 | * This function retrieves forum thread users not qualify |
2134 | 2134 | * @param int Thread ID |
2135 | 2135 | * @param string Course DB name (optional) |
2136 | - * @return array Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2136 | + * @return Doctrine\DBAL\Driver\Statement|null Array of type ([user_id=>w,lastname=>x,firstname=>y,thread_id=>z],[]) |
|
2137 | 2137 | * @author Jhon Hinojosa<[email protected]>, |
2138 | 2138 | * @version oct 2008, dokeos 1.8 |
2139 | 2139 | */ |
@@ -3163,6 +3163,10 @@ discard block |
||
3163 | 3163 | * @param integer contains the information the current user id |
3164 | 3164 | * @param integer contains the information the current thread id |
3165 | 3165 | * @param integer contains the information the current qualify |
3166 | + * @param string $option |
|
3167 | + * @param integer $course_id |
|
3168 | + * @param integer $user_id |
|
3169 | + * @param integer $thread_id |
|
3166 | 3170 | * @return void |
3167 | 3171 | * <code>$option=1 obtained the qualification of the current thread</code> |
3168 | 3172 | * @author Isaac Flores <[email protected]>, U.N.A.S University |
@@ -3722,6 +3726,8 @@ discard block |
||
3722 | 3726 | * |
3723 | 3727 | * @author Patrick Cool <[email protected]>, Ghent University |
3724 | 3728 | * @version february 2006, dokeos 1.8 |
3729 | + * @param string $last_post_id |
|
3730 | + * @param string $post_date |
|
3725 | 3731 | */ |
3726 | 3732 | function updateThreadInfo($thread_id, $last_post_id, $post_date) |
3727 | 3733 | { |
@@ -4025,6 +4031,8 @@ discard block |
||
4025 | 4031 | * |
4026 | 4032 | * @param string Content type (post, thread, forum, forum_category) |
4027 | 4033 | * @param int Item DB ID |
4034 | + * @param string $content |
|
4035 | + * @param integer $id |
|
4028 | 4036 | * @return string language variable |
4029 | 4037 | * @author Patrick Cool <[email protected]>, Ghent University |
4030 | 4038 | * @version february 2006, dokeos 1.8 |
@@ -4461,6 +4469,7 @@ discard block |
||
4461 | 4469 | /** |
4462 | 4470 | * Display the search results |
4463 | 4471 | * @param string |
4472 | + * @param string $search_term |
|
4464 | 4473 | * @return void display the results |
4465 | 4474 | * @author Patrick Cool <[email protected]>, Ghent University, Belgium |
4466 | 4475 | * @version march 2008, dokeos 1.8.5 |
@@ -4590,7 +4599,7 @@ discard block |
||
4590 | 4599 | * This function adds an attachment file into a forum |
4591 | 4600 | * @param string $file_comment a comment about file |
4592 | 4601 | * @param int $last_id from forum_post table |
4593 | - * @return int|bool |
|
4602 | + * @return false|null |
|
4594 | 4603 | */ |
4595 | 4604 | function add_forum_attachment_file($file_comment, $last_id) |
4596 | 4605 | { |
@@ -4801,7 +4810,7 @@ discard block |
||
4801 | 4810 | * @param post id |
4802 | 4811 | * @param int $id_attach |
4803 | 4812 | * @param bool $display to show or not result message |
4804 | - * @return void |
|
4813 | + * @return integer |
|
4805 | 4814 | * @author Julio Montoya Dokeos |
4806 | 4815 | * @version october 2014, chamilo 1.9.8 |
4807 | 4816 | */ |
@@ -5083,7 +5092,7 @@ discard block |
||
5083 | 5092 | * @param integer $forum_id the id of the forum |
5084 | 5093 | * @param integer $thread_id the id of the thread |
5085 | 5094 | * @param integer $post_id the id of the post |
5086 | - * @return bool |
|
5095 | + * @return false|null |
|
5087 | 5096 | * |
5088 | 5097 | * @author Patrick Cool <[email protected]>, Ghent University, Belgium |
5089 | 5098 | * @version May 2008, dokeos 1.8.5 |