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

Document $context parameter in admin_externalpage constructor

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.8.5
    • None
    • PHPDoc
    • MOODLE_28_STABLE

    Description

      The PHPDoc for the $context parameter in the admin_externalpage constructor is vague and confusing:

      The context the page relates to. Not sure what happens if you specify something other than system or front page. Defaults to system.

      It would be good if someone who does understand this parameter could document it properly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maherne Michael Aherne
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: