mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-27979 Should be an edit link for each question when previewing or reviewing a quiz.
This commit is contained in:
parent
3552484b91
commit
da72991636
7 changed files with 103 additions and 18 deletions
|
@ -505,6 +505,20 @@ class question_display_options {
|
|||
*/
|
||||
public $history = self::HIDDEN;
|
||||
|
||||
/**
|
||||
* If not empty, then a link to edit the question will be included in
|
||||
* the info box for the question.
|
||||
*
|
||||
* If used, this array must contain an element courseid or cmid.
|
||||
*
|
||||
* It shoudl also contain a parameter returnurl => moodle_url giving a
|
||||
* sensible URL to go back to when the editing form is submitted or cancelled.
|
||||
*
|
||||
* @var array url parameter for the edit link. id => questiosnid will be
|
||||
* added automatically.
|
||||
*/
|
||||
public $editquestionparams = array();
|
||||
|
||||
/**
|
||||
* @var int the context the attempt being output belongs to.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue