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

more options in print_context function

XMLWordPrintable

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

      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.

            lazyfish Yu Zhang
            jamiesensei Jamie Pratt (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.