Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25927

Completion system print_help_icon: should be changed to return string not print directly

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Activity completion
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The completion system uses a function completion_info::print_help_icon which prints the 'Your progress' help button.

      A developer here is trying to implement a new course format and to use a proper renderer structure. In order to do this it would be helpful if the print_help_icon function were changed to display_help_icon (return html string rather than printing it directly).

      Attachments

        Activity

          People

            quen Sam Marshall
            quen Sam Marshall
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21/Feb/11