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


Standard HTML output renderer for core_admin subsystem
Definition at line 33 of file renderer.php.
| admin_notifications_page | ( | $ | maturity, |
| $ | insecuredataroot, | ||
| $ | errorsdisplayed, | ||
| $ | cronoverdue, | ||
| $ | dbproblems, | ||
| $ | maintenancemode | ||
| ) |
Display the admin notifications page.
| int | $maturity | |
| bool | $insecuredataroot | warn dataroot is invalid |
| bool | $errorsdisplayed | warn invalid dispaly error setting |
| bool | $cronoverdue | warn cron not running |
| bool | $dbproblems | warn db has problems |
| bool | $maintenancemode | warn in maintenance mode |
Definition at line 187 of file renderer.php.

| cron_overdue_warning | ( | $ | cronoverdue | ) |
Render an appropriate message if cron has not been run recently.
| bool | $cronoverdue |
Definition at line 310 of file renderer.php.


| db_problems | ( | $ | dbproblems | ) |
Render an appropriate message if there are any problems with the DB set-up.
| bool | $dbproblems |
Definition at line 324 of file renderer.php.


| display_errors_warning | ( | $ | errorsdisplayed | ) | [protected] |
Render an appropriate message if dataroot is insecure.
| bool | $errorsdisplayed |
Definition at line 297 of file renderer.php.


| environment_check_page | ( | $ | versions, |
| $ | version, | ||
| $ | envstatus, | ||
| $ | environment_results | ||
| ) |
Display the plugin management page (admin/environment.php).
| array | $versions | |
| string | $version | |
| boolean | $envstatus | final result of env check (true/false) |
| array | $environment_results | array of results gathered |
Definition at line 235 of file renderer.php.

| environment_check_table | ( | $ | result, |
| $ | environment_results | ||
| ) |
This function will render one beautiful table with all the environmental configuration and how it suits Moodle needs.
| boolean | $result | final result of the check (true/false) |
| array | $environment_results | array of results gathered |
Definition at line 758 of file renderer.php.


| insecure_dataroot_warning | ( | $ | insecuredataroot | ) | [protected] |
Render an appropriate message if dataroot is insecure.
| bool | $insecuredataroot |
Definition at line 278 of file renderer.php.


| install_environment_page | ( | $ | maturity, |
| $ | envstatus, | ||
| $ | environment_results, | ||
| $ | release | ||
| ) |
Display the 'environment check' page that is displayed during install.
| int | $maturity | |
| boolean | $envstatus | final result of the check (true/false) |
| array | $environment_results | array of results gathered |
| string | $release | moodle release |
Definition at line 68 of file renderer.php.

Display the 'Do you acknowledge the terms of the GPL' page. The first page during install.
Definition at line 40 of file renderer.php.

| maintenance_mode_warning | ( | $ | maintenancemode | ) |
Render an appropriate message if the site in in maintenance mode.
| bool | $maintenancemode |
Definition at line 337 of file renderer.php.


| maturity_info | ( | $ | maturity | ) | [protected] |
Display a warning about installing development code if necesary.
| int | $maturity |
Definition at line 389 of file renderer.php.


| maturity_warning | ( | $ | maturity | ) | [protected] |
Display a warning about installing development code if necesary.
| int | $maturity |
Definition at line 353 of file renderer.php.


| moodle_copyright | ( | ) | [protected] |
Output the copyright notice.
Definition at line 369 of file renderer.php.

| plugin_management_page | ( | plugin_manager $ | pluginman | ) |
Display the plugin management page (admin/plugins.php).
| plugin_manager | $pluginman |
Definition at line 214 of file renderer.php.

| plugins_check_table | ( | plugin_manager $ | pluginman, |
| $ | version, | ||
| array $ | options = null |
||
| ) |
Displays all known plugins and information about their installation or upgrade
This default implementation renders all plugins into one big table. The rendering options support: (bool)full = false: whether to display up-to-date plugins, too
| plugin_manager | $pluginman | provides information about the plugins. |
| int | $version | the version of the Moodle code from version.php. |
| array | $options | rendering options |
Definition at line 435 of file renderer.php.


| plugins_control_panel | ( | plugin_manager $ | pluginman | ) |
Displays all known plugins and links to manage them
This default implementation renders all plugins into one big table.
| plugin_manager | $pluginman | provides information about the plugins. |
Definition at line 637 of file renderer.php.


| release_notes_link | ( | ) | [protected] |
Display a link to the release notes.
Definition at line 405 of file renderer.php.

| required_column | ( | plugin_information $ | plugin, |
| plugin_manager $ | pluginman, | ||
| $ | version | ||
| ) | [protected] |
Formats the information that needs to go in the 'Requires' column.
| plugin_information | $plugin | the plugin we are rendering the row for. |
| plugin_manager | $pluginman | provides data on all the plugins. |
| string | $version |
Definition at line 582 of file renderer.php.


| upgrade_confirm_page | ( | $ | strnewversion, |
| $ | maturity | ||
| ) |
Display the 'You are about to upgrade Moodle' page. The first page during upgrade.
| string | $strnewversion | |
| int | $maturity |
Definition at line 97 of file renderer.php.

| upgrade_environment_page | ( | $ | release, |
| $ | envstatus, | ||
| $ | environment_results | ||
| ) |
Display the environment page during the upgrade process.
| string | $release | |
| boolean | $envstatus | final result of env check (true/false) |
| array | $environment_results | array of results gathered |
Definition at line 118 of file renderer.php.

| upgrade_plugin_check_page | ( | plugin_manager $ | pluginman, |
| $ | version, | ||
| $ | showallplugins, | ||
| $ | reloadurl, | ||
| $ | continueurl | ||
| ) |
Display the upgrade page that lists all the plugins that require attention.
| plugin_manager | $pluginman | provides information about the plugins. |
| int | $version | the version of the Moodle code from version.php. |
| bool | $showallplugins | |
| moodle_url | $reloadurl | |
| moodle_url | $continueurl |
Definition at line 154 of file renderer.php.

| upgrade_reload | ( | $ | url | ) |
Display the reload link that appears on several upgrade/install pages.
Definition at line 415 of file renderer.php.


Output a warning message, of the type that appears on the admin notifications page.
| string | $message | the message to display. |
| string | $type | type class |
Definition at line 269 of file renderer.php.
