@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * CourseRestorer constructor. |
| 87 | - * @param array $course |
|
| 87 | + * @param Course $course |
|
| 88 | 88 | */ |
| 89 | 89 | public function __construct($course) |
| 90 | 90 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * @param int $session_id |
| 134 | 134 | * @param bool $update_course_settings Course settings are going to be restore? |
| 135 | 135 | * @param bool $respect_base_content |
| 136 | - * @return bool |
|
| 136 | + * @return false|null |
|
| 137 | 137 | */ |
| 138 | 138 | public function restore( |
| 139 | 139 | $destination_course_code = '', |
@@ -1154,6 +1154,7 @@ discard block |
||
| 1154 | 1154 | |
| 1155 | 1155 | /** |
| 1156 | 1156 | * Restore a forum-topic |
| 1157 | + * @param false|string $forum_id |
|
| 1157 | 1158 | */ |
| 1158 | 1159 | public function restore_topic($thread_id, $forum_id, $sessionId = 0) |
| 1159 | 1160 | { |
@@ -1210,6 +1211,7 @@ discard block |
||
| 1210 | 1211 | /** |
| 1211 | 1212 | * Restore a forum-post |
| 1212 | 1213 | * @TODO Restore tree-structure of posts. For example: attachments to posts. |
| 1214 | + * @param false|string $topic_id |
|
| 1213 | 1215 | */ |
| 1214 | 1216 | public function restore_post($id, $topic_id, $forum_id, $sessionId = 0) |
| 1215 | 1217 | { |
@@ -2307,6 +2309,7 @@ discard block |
||
| 2307 | 2309 | |
| 2308 | 2310 | /** |
| 2309 | 2311 | * Check availability of a survey code |
| 2312 | + * @param string $survey_code |
|
| 2310 | 2313 | */ |
| 2311 | 2314 | public function is_survey_code_available($survey_code) |
| 2312 | 2315 | { |
@@ -2321,6 +2324,7 @@ discard block |
||
| 2321 | 2324 | |
| 2322 | 2325 | /** |
| 2323 | 2326 | * Restore survey-questions |
| 2327 | + * @param string $survey_id |
|
| 2324 | 2328 | */ |
| 2325 | 2329 | public function restore_survey_question($id, $survey_id) |
| 2326 | 2330 | { |
@@ -2777,6 +2781,8 @@ discard block |
||
| 2777 | 2781 | * @param string The path origin |
| 2778 | 2782 | * @param string The path destination |
| 2779 | 2783 | * @param boolean Option Overwrite |
| 2784 | + * @param string $source |
|
| 2785 | + * @param string $dest |
|
| 2780 | 2786 | * @return void() |
| 2781 | 2787 | * @deprecated |
| 2782 | 2788 | */ |