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

New function get_plugin_list_with_class like get_plugin_list_with_function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.2
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Developer-only API. I will by testing it in my development work that depends on it.

      If you want to test it, you can make a test script that does
      print_object(get_plugin_list_with_class('qtype', '', 'questiontype.php'));
      print_object(get_plugin_list_with_class('qtype', 'definition', 'question.php'));
      print_object(get_plugin_list_with_file('mod', 'view.php', false));
      etc.

      Show
      Developer-only API. I will by testing it in my development work that depends on it. If you want to test it, you can make a test script that does print_object(get_plugin_list_with_class('qtype', '', 'questiontype.php')); print_object(get_plugin_list_with_class('qtype', 'definition', 'question.php')); print_object(get_plugin_list_with_file('mod', 'view.php', false)); etc.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I need this for some work I am doing, and it seemed generally useful enough that it was worth doing in moodlelib.php.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            David Mudrák (@mudrd8mz)
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            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:
              Fix Release Date:
              5/Dec/11