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

more options in print_context function

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • None
    • Roles / Access
    • None
    • MOODLE_19_STABLE

    Description

      I attach a patch to print_context_name that adds two params to the function $withprefix = true and $short = false.

      withprefix controls whether the prefix eg. 'Course :' "Course Category :' etc. is included
      and $short controls whether to return the full Course Name or the short name.

      Attachments

        Issue Links

          Activity

            People

              lazyfish Yu Zhang
              jamiesensei Jamie Pratt
              Nobody Nobody
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: