Home
last modified time | relevance | path

Searched refs:oldcontextid (Results 26 – 50 of 87) sorted by relevance

1234

/dports/www/moodle311/moodle/question/type/multichoice/
H A Dquestiontype.php295 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
296 parent::move_files($questionid, $oldcontextid, $newcontextid);
297 $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid, true);
298 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
299 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle39/moodle/question/type/multichoice/
H A Dquestiontype.php287 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
288 parent::move_files($questionid, $oldcontextid, $newcontextid);
289 $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid, true);
290 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
291 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle310/moodle/backup/moodle2/
H A Drestore_activity_task.class.php44 protected $oldcontextid;// old (original) context of the activity variable in restore_activity_task
58 $this->oldcontextid = 0;
92 $this->oldcontextid = $contextid;
120 return $this->oldcontextid;
/dports/www/moodle311/moodle/backup/moodle2/
H A Drestore_activity_task.class.php44 protected $oldcontextid;// old (original) context of the activity variable in restore_activity_task
58 $this->oldcontextid = 0;
92 $this->oldcontextid = $contextid;
129 return $this->oldcontextid;
/dports/www/moodle39/moodle/backup/moodle2/
H A Drestore_activity_task.class.php44 protected $oldcontextid;// old (original) context of the activity variable in restore_activity_task
58 $this->oldcontextid = 0;
92 $this->oldcontextid = $contextid;
120 return $this->oldcontextid;
/dports/www/moodle39/moodle/contentbank/tests/
H A Dcontent_test.php181 $oldcontextid = $content->get_contextid();
184 $this->assertEquals($oldcontextid, $file->get_contextid());
185 $this->assertEquals($context->id, $oldcontextid);
186 $this->assertNotEquals($newcontext->id, $oldcontextid);
/dports/www/moodle39/moodle/question/type/essay/
H A Dquestiontype.php165 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
166 parent::move_files($questionid, $oldcontextid, $newcontextid);
168 $fs->move_area_files_to_new_context($oldcontextid,
/dports/www/moodle310/moodle/contentbank/tests/
H A Dcontent_test.php181 $oldcontextid = $content->get_contextid();
184 $this->assertEquals($oldcontextid, $file->get_contextid());
185 $this->assertEquals($context->id, $oldcontextid);
186 $this->assertNotEquals($newcontext->id, $oldcontextid);
/dports/www/moodle310/moodle/question/type/essay/
H A Dquestiontype.php176 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
177 parent::move_files($questionid, $oldcontextid, $newcontextid);
179 $fs->move_area_files_to_new_context($oldcontextid,
/dports/www/moodle39/moodle/question/type/ddmarker/
H A Dquestiontype.php244 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
248 parent::move_files($questionid, $oldcontextid, $newcontextid);
249 $fs->move_area_files_to_new_context($oldcontextid,
252 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
253 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle310/moodle/question/type/ddmarker/
H A Dquestiontype.php244 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
248 parent::move_files($questionid, $oldcontextid, $newcontextid);
249 $fs->move_area_files_to_new_context($oldcontextid,
252 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
253 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle311/moodle/question/type/ddmarker/
H A Dquestiontype.php250 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
254 parent::move_files($questionid, $oldcontextid, $newcontextid);
255 $fs->move_area_files_to_new_context($oldcontextid,
258 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
259 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle310/moodle/contentbank/classes/
H A Dcontent.php182 $oldcontextid = $this->content->contextid;
188 …$fs->move_area_files_to_new_context($oldcontextid, $contextid, 'contentbank', 'public', $this->con…
190 $this->content->contextid = $oldcontextid;
/dports/www/moodle310/moodle/question/type/truefalse/
H A Dquestiontype.php160 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
161 parent::move_files($questionid, $oldcontextid, $newcontextid);
162 $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle39/moodle/contentbank/classes/
H A Dcontent.php170 $oldcontextid = $this->content->contextid;
176 …$fs->move_area_files_to_new_context($oldcontextid, $contextid, 'contentbank', 'public', $this->con…
178 $this->content->contextid = $oldcontextid;
/dports/www/moodle311/moodle/question/type/truefalse/
H A Dquestiontype.php160 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
161 parent::move_files($questionid, $oldcontextid, $newcontextid);
162 $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle311/moodle/question/type/essay/
H A Dquestiontype.php193 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
194 parent::move_files($questionid, $oldcontextid, $newcontextid);
196 $fs->move_area_files_to_new_context($oldcontextid,
/dports/www/moodle39/moodle/question/type/truefalse/
H A Dquestiontype.php160 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
161 parent::move_files($questionid, $oldcontextid, $newcontextid);
162 $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle310/moodle/cohort/
H A Dedit.php144 $oldcontextid = $context->id; variable
148 if ($data->contextid != $oldcontextid) {
150 get_file_storage()->move_area_files_to_new_context($oldcontextid, $context->id,
/dports/www/moodle311/moodle/cohort/
H A Dedit.php144 $oldcontextid = $context->id; variable
148 if ($data->contextid != $oldcontextid) {
150 get_file_storage()->move_area_files_to_new_context($oldcontextid, $context->id,
/dports/www/moodle39/moodle/cohort/
H A Dedit.php144 $oldcontextid = $context->id; variable
148 if ($data->contextid != $oldcontextid) {
150 get_file_storage()->move_area_files_to_new_context($oldcontextid, $context->id,
/dports/www/moodle310/moodle/question/type/gapselect/
H A Dquestiontypebase.php342 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
343 parent::move_files($questionid, $oldcontextid, $newcontextid);
344 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
345 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle311/moodle/question/type/gapselect/
H A Dquestiontypebase.php347 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
348 parent::move_files($questionid, $oldcontextid, $newcontextid);
349 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
350 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle39/moodle/question/type/gapselect/
H A Dquestiontypebase.php342 public function move_files($questionid, $oldcontextid, $newcontextid) { argument
343 parent::move_files($questionid, $oldcontextid, $newcontextid);
344 $this->move_files_in_combined_feedback($questionid, $oldcontextid, $newcontextid);
345 $this->move_files_in_hints($questionid, $oldcontextid, $newcontextid);
/dports/www/moodle311/moodle/contentbank/classes/
H A Dcontent.php193 $oldcontextid = $this->content->contextid;
199 …$fs->move_area_files_to_new_context($oldcontextid, $contextid, 'contentbank', 'public', $this->con…
201 $this->content->contextid = $oldcontextid;

1234