Search moodle.org's
Developer Documentation


Long Term Support Release

  • Bug fixes for general core bugs in 3.1.x ended 8 May 2017 (12 months).
  • Bug fixes for security issues in 3.1.x ended 13 May 2019 (36 months).
  • minimum PHP 5.4.4 (always use latest PHP 5.4.x , 5.5.x or 5.6.x on Windows - http://windows.php.net/download/). PHP 7.0.x is supported but has some engine limitations. PHP 7.1.x is not supported.
  • /cache/ -> renderer.php (source)

    Differences Between: [Versions 31 and 38]

    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: 403 lines (15 kb)
    Included or required:0 times
    Referenced: 0 times
    Includes or requires: 0 files

    Defines 1 class

    core_cache_renderer:: (6 methods):
      store_instance_summariers()
      store_plugin_summaries()
      definition_summaries()
      mode_mappings()
      lock_summaries()
      notifications()


    Class: core_cache_renderer  - X-Ref

    The cache renderer (mainly admin interfaces).

    store_instance_summariers(array $stores, array $plugins)   X-Ref
    Displays store summaries.

    param: array $stores
    param: array $plugins
    return: string HTML

    store_plugin_summaries(array $plugins)   X-Ref
    Displays plugin summaries

    param: array $plugins
    return: string HTML

    definition_summaries(array $definitions, context $context)   X-Ref
    Displays definition summaries

    param: array $definitions
    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

    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

    Search This Site: