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

mimeinfo_from_icon should optionally return all mimetypes associated with a given icon

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API, Portfolio
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Currently it just returns the LAST match. I'm committing a patch to head that lets you optionally request it to return you all matches.

      Feel free to quarrel about this patch, I guess it could be controversial.

        Attachments

          Activity

            People

            • Assignee:
              mjollnir Penny Leach
              Reporter:
              mjollnir Penny Leach
              Participants:
              Component watchers:
              Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10