Home
last modified time | relevance | path

Searched refs:returnurl (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/dports/www/moodle310/moodle/enrol/lti/classes/output/
H A Dregistration.php42 /** @var returnurl The url to which the tool proxy should return */
43 protected $returnurl; variable in enrol_lti\\output\\registration
47 * @param string|null $returnurl The url the consumer wants us to return the user to (optional)
49 public function __construct($returnurl = null) { argument
50 $this->returnurl = $returnurl;
62 $data->returnurl = $this->returnurl;
/dports/www/moodle311/moodle/enrol/lti/classes/output/
H A Dregistration.php42 /** @var returnurl The url to which the tool proxy should return */
43 protected $returnurl; variable in enrol_lti\\output\\registration
47 * @param string|null $returnurl The url the consumer wants us to return the user to (optional)
49 public function __construct($returnurl = null) { argument
50 $this->returnurl = $returnurl;
62 $data->returnurl = $this->returnurl;
/dports/www/moodle39/moodle/enrol/lti/classes/output/
H A Dregistration.php42 /** @var returnurl The url to which the tool proxy should return */
43 protected $returnurl; variable in enrol_lti\\output\\registration
47 * @param string|null $returnurl The url the consumer wants us to return the user to (optional)
49 public function __construct($returnurl = null) { argument
50 $this->returnurl = $returnurl;
62 $data->returnurl = $this->returnurl;
/dports/www/moodle310/moodle/course/
H A Dswitchrole.php37 $returnurl = optional_param('returnurl', '', PARAM_RAW); variable
39 if (strpos($returnurl, '?') === false) {
41 $returnurl = new moodle_url('/course/view.php', array('id' => $id)); variable
43 if (strpos($returnurl, $CFG->wwwroot) !== 0) {
44 $returnurl = $CFG->wwwroot.$returnurl; variable
46 $returnurl = clean_param($returnurl, PARAM_URL); variable
103 …url('/course/switchrole.php', array('id' => $id, 'switchrole' => $key, 'returnurl' => $returnurl));
108 $url = new moodle_url($returnurl);
115 redirect($returnurl);
H A Dedit.php34 if ($returnto === 'url' && confirm_sesskey() && $returnurl) {
37 $returnurl = new moodle_url($returnurl); variable
42 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
53 $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php'); variable
56 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
59 $returnurl = new moodle_url($CFG->wwwroot . '/course/pending.php'); variable
73 if ($returnto === 'url' && $returnurl) {
74 $pageparams['returnurl'] = $returnurl;
152 'returnurl' => $returnurl
157 redirect($returnurl);
[all …]
/dports/www/moodle311/moodle/course/
H A Dswitchrole.php37 $returnurl = optional_param('returnurl', '', PARAM_RAW); variable
39 if (strpos($returnurl, '?') === false) {
41 $returnurl = new moodle_url('/course/view.php', array('id' => $id)); variable
43 if (strpos($returnurl, $CFG->wwwroot) !== 0) {
44 $returnurl = $CFG->wwwroot.$returnurl; variable
46 $returnurl = clean_param($returnurl, PARAM_URL); variable
103 …url('/course/switchrole.php', array('id' => $id, 'switchrole' => $key, 'returnurl' => $returnurl));
108 $url = new moodle_url($returnurl);
115 redirect($returnurl);
H A Dedit.php34 if ($returnto === 'url' && confirm_sesskey() && $returnurl) {
37 $returnurl = new moodle_url($returnurl); variable
42 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
53 $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php'); variable
56 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
59 $returnurl = new moodle_url($CFG->wwwroot . '/course/pending.php'); variable
73 if ($returnto === 'url' && $returnurl) {
74 $pageparams['returnurl'] = $returnurl;
152 'returnurl' => $returnurl
157 redirect($returnurl);
[all …]
/dports/www/moodle39/moodle/course/
H A Dswitchrole.php37 $returnurl = optional_param('returnurl', '', PARAM_RAW); variable
39 if (strpos($returnurl, '?') === false) {
41 $returnurl = new moodle_url('/course/view.php', array('id' => $id)); variable
43 if (strpos($returnurl, $CFG->wwwroot) !== 0) {
44 $returnurl = $CFG->wwwroot.$returnurl; variable
46 $returnurl = clean_param($returnurl, PARAM_URL); variable
103 …url('/course/switchrole.php', array('id' => $id, 'switchrole' => $key, 'returnurl' => $returnurl));
108 $url = new moodle_url($returnurl);
115 redirect($returnurl);
H A Dedit.php34 if ($returnto === 'url' && confirm_sesskey() && $returnurl) {
37 $returnurl = new moodle_url($returnurl); variable
42 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
53 $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php'); variable
56 $returnurl = new moodle_url($CFG->wwwroot . '/course/'); variable
59 $returnurl = new moodle_url($CFG->wwwroot . '/course/pending.php'); variable
73 if ($returnto === 'url' && $returnurl) {
74 $pageparams['returnurl'] = $returnurl;
152 'returnurl' => $returnurl
157 redirect($returnurl);
[all …]
/dports/www/moodle310/moodle/cohort/
H A Dedit.php36 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
58 if ($returnurl) {
59 $returnurl = new moodle_url($returnurl); variable
66 redirect($returnurl);
87 redirect($returnurl);
98 echo $OUTPUT->confirm($message, $yesurl, $returnurl);
108 redirect($returnurl);
116 redirect($returnurl);
141 redirect($returnurl);
170 … if ($returnurl->get_param('showall') || $returnurl->get_param('contextid') == $data->contextid) {
[all …]
/dports/www/moodle311/moodle/cohort/
H A Dedit.php36 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
58 if ($returnurl) {
59 $returnurl = new moodle_url($returnurl); variable
66 redirect($returnurl);
87 redirect($returnurl);
98 echo $OUTPUT->confirm($message, $yesurl, $returnurl);
108 redirect($returnurl);
116 redirect($returnurl);
141 redirect($returnurl);
170 … if ($returnurl->get_param('showall') || $returnurl->get_param('contextid') == $data->contextid) {
[all …]
/dports/www/moodle39/moodle/cohort/
H A Dedit.php36 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
58 if ($returnurl) {
59 $returnurl = new moodle_url($returnurl); variable
66 redirect($returnurl);
87 redirect($returnurl);
98 echo $OUTPUT->confirm($message, $yesurl, $returnurl);
108 redirect($returnurl);
116 redirect($returnurl);
141 redirect($returnurl);
170 … if ($returnurl->get_param('showall') || $returnurl->get_param('contextid') == $data->contextid) {
[all …]
/dports/www/moodle310/moodle/admin/tool/policy/
H A Daccept.php30 $returnurl = optional_param('returnurl', null, PARAM_LOCALURL); variable
46 if ($returnurl) {
47 $returnurl = new moodle_url($returnurl); variable
50 $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $userid]); variable
52 $returnurl = new moodle_url('/admin/tool/policy/acceptances.php'); variable
57 $form->set_data(['returnurl' => $returnurl]);
60 redirect($returnurl);
63 redirect($returnurl);
/dports/www/moodle311/moodle/admin/tool/policy/
H A Daccept.php30 $returnurl = optional_param('returnurl', null, PARAM_LOCALURL); variable
46 if ($returnurl) {
47 $returnurl = new moodle_url($returnurl); variable
50 $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $userid]); variable
52 $returnurl = new moodle_url('/admin/tool/policy/acceptances.php'); variable
57 $form->set_data(['returnurl' => $returnurl]);
60 redirect($returnurl);
63 redirect($returnurl);
/dports/www/moodle39/moodle/admin/tool/policy/
H A Daccept.php30 $returnurl = optional_param('returnurl', null, PARAM_LOCALURL); variable
46 if ($returnurl) {
47 $returnurl = new moodle_url($returnurl); variable
50 $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $userid]); variable
52 $returnurl = new moodle_url('/admin/tool/policy/acceptances.php'); variable
57 $form->set_data(['returnurl' => $returnurl]);
60 redirect($returnurl);
63 redirect($returnurl);
/dports/www/moodle310/moodle/admin/tool/policy/classes/output/
H A Dacceptances.php51 protected $returnurl; variable in tool_policy\\output\\acceptances
57 * @param string|moodle_url $returnurl
59 public function __construct($userid, $returnurl = null) { argument
61 $this->returnurl = $returnurl ? (new moodle_url($returnurl))->out(false) : null;
74 $data->returnurl = $this->returnurl;
91 … $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $this->userid]);
95 'returnurl' => $returnurl->out(false),
103 … $version->agreement = new user_agreement($this->userid, [$version->id], [], $returnurl,
106 … $version->agreement = new user_agreement($this->userid, [], [$version->id], $returnurl,
119 …$version->agreement = new user_agreement($this->userid, [], [], $returnurl, [$version->id => $vers…
/dports/www/moodle311/moodle/admin/tool/policy/classes/output/
H A Dacceptances.php51 protected $returnurl; variable in tool_policy\\output\\acceptances
57 * @param string|moodle_url $returnurl
59 public function __construct($userid, $returnurl = null) { argument
61 $this->returnurl = $returnurl ? (new moodle_url($returnurl))->out(false) : null;
74 $data->returnurl = $this->returnurl;
91 … $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $this->userid]);
95 'returnurl' => $returnurl->out(false),
103 … $version->agreement = new user_agreement($this->userid, [$version->id], [], $returnurl,
106 … $version->agreement = new user_agreement($this->userid, [], [$version->id], $returnurl,
119 …$version->agreement = new user_agreement($this->userid, [], [], $returnurl, [$version->id => $vers…
/dports/www/moodle39/moodle/admin/tool/policy/classes/output/
H A Dacceptances.php51 protected $returnurl; variable in tool_policy\\output\\acceptances
57 * @param string|moodle_url $returnurl
59 public function __construct($userid, $returnurl = null) { argument
61 $this->returnurl = $returnurl ? (new moodle_url($returnurl))->out(false) : null;
74 $data->returnurl = $this->returnurl;
91 … $returnurl = new moodle_url('/admin/tool/policy/user.php', ['userid' => $this->userid]);
95 'returnurl' => $returnurl->out(false),
103 … $version->agreement = new user_agreement($this->userid, [$version->id], [], $returnurl,
106 … $version->agreement = new user_agreement($this->userid, [], [$version->id], $returnurl,
119 …$version->agreement = new user_agreement($this->userid, [], [], $returnurl, [$version->id => $vers…
/dports/www/moodle310/moodle/badges/
H A Daction.php57 $returnurl = new moodle_url($return); variable
59 $returnurl = new moodle_url('/badges/overview.php', array('id' => $badge->id)); variable
61 $returnurl->remove_params('awards');
83 $returnurl->param('msg', 'activatesuccess');
96 $returnurl->param('awards', $awards);
98 $returnurl->param('awards', 'cron');
102 $returnurl->param('awards', $awards);
104 redirect($returnurl);
118 …redirect($returnurl, get_string('error:cannotact', 'badges') . get_string('nocriteria', 'badges'),…
121 echo $OUTPUT->confirm($message, $url, $returnurl);
[all …]
/dports/www/moodle311/moodle/badges/
H A Daction.php57 $returnurl = new moodle_url($return); variable
59 $returnurl = new moodle_url('/badges/overview.php', array('id' => $badge->id)); variable
61 $returnurl->remove_params('awards');
83 $returnurl->param('msg', 'activatesuccess');
96 $returnurl->param('awards', $awards);
98 $returnurl->param('awards', 'cron');
102 $returnurl->param('awards', $awards);
104 redirect($returnurl);
118 …redirect($returnurl, get_string('error:cannotact', 'badges') . get_string('nocriteria', 'badges'),…
121 echo $OUTPUT->confirm($message, $url, $returnurl);
[all …]
/dports/www/moodle310/moodle/mod/quiz/
H A Daddrandom.php38 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
56 if ($returnurl) {
57 $returnurl = new moodle_url($returnurl); variable
59 $returnurl = new moodle_url('/mod/quiz/edit.php', array('cmid' => $cmid)); variable
62 $returnurl->param('scrollpos', $scrollpos);
81 redirect($returnurl);
92 $returnurl->param('cat', $data->category);
99 $returnurl->param('cat', $categoryid . ',' . $contextid);
116 redirect($returnurl);
121 'returnurl' => $returnurl,
/dports/www/moodle39/moodle/badges/
H A Daction.php57 $returnurl = new moodle_url($return); variable
59 $returnurl = new moodle_url('/badges/overview.php', array('id' => $badge->id)); variable
61 $returnurl->remove_params('awards');
83 $returnurl->param('msg', 'activatesuccess');
96 $returnurl->param('awards', $awards);
98 $returnurl->param('awards', 'cron');
102 $returnurl->param('awards', $awards);
104 redirect($returnurl);
118 …redirect($returnurl, get_string('error:cannotact', 'badges') . get_string('nocriteria', 'badges'),…
121 echo $OUTPUT->confirm($message, $url, $returnurl);
[all …]
/dports/www/moodle311/moodle/mod/quiz/
H A Daddrandom.php38 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
56 if ($returnurl) {
57 $returnurl = new moodle_url($returnurl); variable
59 $returnurl = new moodle_url('/mod/quiz/edit.php', array('cmid' => $cmid)); variable
62 $returnurl->param('scrollpos', $scrollpos);
81 redirect($returnurl);
92 $returnurl->param('cat', $data->category);
99 $returnurl->param('cat', $categoryid . ',' . $contextid);
116 redirect($returnurl);
121 'returnurl' => $returnurl,
/dports/www/moodle39/moodle/mod/quiz/
H A Daddrandom.php38 $returnurl = optional_param('returnurl', '', PARAM_LOCALURL); variable
56 if ($returnurl) {
57 $returnurl = new moodle_url($returnurl); variable
59 $returnurl = new moodle_url('/mod/quiz/edit.php', array('cmid' => $cmid)); variable
62 $returnurl->param('scrollpos', $scrollpos);
81 redirect($returnurl);
92 $returnurl->param('cat', $data->category);
99 $returnurl->param('cat', $categoryid . ',' . $contextid);
116 redirect($returnurl);
121 'returnurl' => $returnurl,
/dports/www/moodle310/moodle/grade/edit/tree/
H A Daction.php43 $returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/edit/tree/index.php?id='.$course->id); variable
50 print_error('invalidelementid', '', $returnurl);
60 print_error('nopermissiontohide', '', $returnurl);
66 print_error('componentcontrolsvisibility', 'grades', $returnurl);
75 print_error('nopermissiontoshow', '', $returnurl);
81 print_error('componentcontrolsvisibility', 'grades', $returnurl);
90 print_error('nopermissiontolock', '', $returnurl);
102 print_error('nopermissiontounlock', '', $returnurl);
118 print_error('nopermissiontoresetweights', 'grades', $returnurl);
143 redirect($returnurl);

12345678910>>...23