|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| index_page ($detected, array $actions) | |
| simple_message_page ($message) | |
| quiz_list_page (tool_qeupgradehelper_quiz_list $quizzes, $numveryoldattemtps=null) | |
| convert_quiz_are_you_sure ($quizsummary) | |
| reset_quiz_are_you_sure ($quizsummary) | |
| end_of_page_link ($url, $text) | |
| back_to_index () | |
Renderer for the question engine upgrade helper plugin.
Definition at line 36 of file renderer.php.
| back_to_index | ( | ) |
Output a link back to the plugin index page.
Definition at line 164 of file renderer.php.


| convert_quiz_are_you_sure | ( | $ | quizsummary | ) |
Render the are-you-sure page to confirm a manual upgrade.
| object | $quizsummary | data about the quiz to upgrade. |
Definition at line 116 of file renderer.php.

| end_of_page_link | ( | $ | url, |
| $ | text | ||
| ) |
Render a link in a div, such as the 'Back to plugin main page' link.
| $url | the link URL. |
| $text | the link text. |
Definition at line 155 of file renderer.php.


| index_page | ( | $ | detected, |
| array $ | actions | ||
| ) |
Render the index page.
| string | $detected | information about what sort of site was detected. |
| array | $actions | list of actions to show on this page. |
Definition at line 44 of file renderer.php.

| quiz_list_page | ( | tool_qeupgradehelper_quiz_list $ | quizzes, |
| $ | numveryoldattemtps = null |
||
| ) |
Render the list of quizzes that still need to be upgraded page.
| array | $quizzes | of data about quizzes. |
| int | $numveryoldattemtps | only relevant before upgrade. |
Definition at line 80 of file renderer.php.

| reset_quiz_are_you_sure | ( | $ | quizsummary | ) |
Render the are-you-sure page to confirm a manual reset.
| object | $quizsummary | data about the quiz to reset. |
Definition at line 135 of file renderer.php.

| simple_message_page | ( | $ | message | ) |
Render a page that is just a simple message.
| string | $message | the message to display. |
Definition at line 65 of file renderer.php.
