Differences Between: [Versions 39 and 310]
The Cache renderer. This file is part of Moodle's cache API, affectionately called MUC.
Copyright: | 2012 Sam Hemelryk |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 416 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_cache_renderer:: (7 methods):
store_instance_summariers()
store_plugin_summaries()
definition_summaries()
mode_mappings()
lock_summaries()
additional_lock_actions()
notifications()
Class: core_cache_renderer - X-Ref
The cache renderer (mainly admin interfaces).store_instance_summariers(array $storeinstancesummaries, array $storepluginsummaries) X-Ref |
Displays store summaries. param: array $storeinstancesummaries information about each store instance, param: array $storepluginsummaries information about each store plugin as return: string HTML |
store_plugin_summaries(array $storepluginsummaries) X-Ref |
Displays plugin summaries. param: array $storepluginsummaries information about each store plugin as return: string HTML |
definition_summaries(array $definitionsummaries, context $context) X-Ref |
Displays definition summaries. param: array $definitionsummaries information about each definition, as returned by param: context $context the system context. return: string HTML. |
mode_mappings($applicationstore, $sessionstore, $requeststore, moodle_url $editurl) X-Ref |
Displays mode mappings param: string $applicationstore param: string $sessionstore param: string $requeststore param: moodle_url $editurl return: string HTML |
lock_summaries(array $locks) X-Ref |
Display basic information about lock instances. param: array $locks return: string |
additional_lock_actions() X-Ref |
Renders additional actions for locks, such as Add. return: string |
notifications(array $notifications = array() X-Ref |
Renders an array of notifications for the cache configuration screen. Takes an array of notifications with the form: $notifications = array( array('This is a success message', true), array('This is a failure message', false), ); param: array $notifications return: string |