Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20204 Themes 2.0: YUI, Caching, Performance, Consistency
  3. MDL-21148

add renderer target parameter to$PAGE->get_renderer()

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      we need renderers for:

      • normal
      • cli
      • email
      • html export

      At present the CLI handling is hardcoded, this has to be more flexible to allow easy sending from cron. etc. Also Penny could use it in the new portfolio export....

      plan:
      1/ constants RENDERER_TARGET_NORMAL, _CLI, ...
      2/ new $target=null parameter in $PAGE->get_renderer()
      3/ some refactoring in renderer constructors and factories

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10