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


The primary renderer for the backup.
Can be retrieved with the following code: <?php $renderer = $PAGE->get_renderer('core','backup'); ?>
Definition at line 37 of file renderer.php.
| backup_detail_input | ( | $ | label, |
| $ | type, | ||
| $ | name, | ||
| $ | value, | ||
| array $ | attributes = array(), |
||
| $ | description = null |
||
| ) | [protected] |
Created a detailed pairing with an input
| string | $label | |
| string | $type | |
| string | $name | |
| string | $value | |
| array | $attributes | |
| string | null | $description |
Definition at line 338 of file renderer.php.


| backup_detail_pair | ( | $ | label, |
| $ | value | ||
| ) | [protected] |
Creates a detailed pairing (key + value)
int $count
| string | $label | |
| string | $value |
Definition at line 317 of file renderer.php.


| backup_detail_select | ( | $ | label, |
| $ | name, | ||
| $ | options, | ||
| $ | selected = '', |
||
| $ | nothing = false, |
||
| array $ | attributes = array(), |
||
| $ | description = null |
||
| ) | [protected] |
Creates a detailed pairing with a select
| string | $label | |
| string | $name | |
| array | $options | |
| string | $selected | |
| bool | $nothing | |
| array | $attributes | |
| string | null | $description |
Definition at line 359 of file renderer.php.


| backup_details | ( | $ | details, |
| $ | nextstageurl | ||
| ) |
Displays the details of a backup file
| stdClass | $details | |
| moodle_url | $nextstageurl |
Definition at line 74 of file renderer.php.

| backup_details_nonstandard | ( | $ | nextstageurl, |
| array $ | details | ||
| ) |
Displays the general information about a backup file with non-standard format
| moodle_url | $nextstageurl | URL to send user to |
| array | $details | basic info about the file (format, type) |
Definition at line 167 of file renderer.php.

| backup_details_unknown | ( | moodle_url $ | nextstageurl | ) |
Displays the general information about a backup file with unknown format
| moodle_url | $nextstageurl | URL to send user to |
Definition at line 192 of file renderer.php.

| backup_files_viewer | ( | array $ | options = null | ) |
Print a backup files tree
| array | $options |
Definition at line 450 of file renderer.php.

| continue_button | ( | $ | url, |
| $ | method = 'post' |
||
| ) |
Displays a continue button
| string | moodle_url | $url | |
| string | $method |
Definition at line 433 of file renderer.php.


| course_selector | ( | moodle_url $ | nextstageurl, |
| $ | wholecourse = true, |
||
| restore_category_search $ | categories = null, |
||
| restore_course_search $ | courses = null, |
||
| $ | currentcourse = null |
||
| ) |
Displays a course selector for restore
| moodle_url | $nextstageurl | |
| bool | $wholecourse | true if we are restoring whole course (as with backup::TYPE_1COURSE), false otherwise |
| restore_category_search | $categories | |
| restore_course_search | $courses | |
| int | $currentcourse |
Definition at line 213 of file renderer.php.

| dependency_notification | ( | $ | message | ) |
Prints a dependency notification
| string | $message |
Definition at line 63 of file renderer.php.

| import_course_selector | ( | moodle_url $ | nextstageurl, |
| import_course_search $ | courses = null |
||
| ) |
Displays the import course selector
| moodle_url | $nextstageurl | |
| import_course_search | $courses |
Definition at line 291 of file renderer.php.

| precheck_notices | ( | $ | results | ) |
Displays precheck notices
| array | $results |
Definition at line 374 of file renderer.php.

| progress_bar | ( | array $ | items | ) |
Renderers a progress bar for the backup or restore given the items that make it up.
| array | $items | An array of items |
Definition at line 44 of file renderer.php.

| render_backup_files_viewer | ( | backup_files_viewer $ | viewer | ) |
Displays a backup files viewer
stdClass $USER
| backup_files_viewer | $tree |
Definition at line 462 of file renderer.php.

| render_import_course_search | ( | import_course_search $ | component | ) |
Renders an import course search object
| import_course_search | $component |
Definition at line 565 of file renderer.php.

| render_restore_category_search | ( | restore_category_search $ | component | ) |
Renders a restore category search object
| restore_category_search | $component |
Definition at line 613 of file renderer.php.

| render_restore_course_search | ( | restore_course_search $ | component | ) |
Renders a restore course search object
| restore_course_search | $component |
Definition at line 508 of file renderer.php.

| role_mappings | ( | $ | rolemappings, |
| $ | roles | ||
| ) |
Displays a role mapping interface
| array | $rolemappings | |
| array | $roles |
Definition at line 412 of file renderer.php.

| substage_buttons | ( | $ | haserrors | ) |
Displays substage buttons
| bool | $haserrors |
Definition at line 395 of file renderer.php.
