Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9, 2.0
    • 1.9
    • Tags
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_19_STABLE

    Description

      The current API for tags isn't optimal. Some operations are done in tag/lib.php, some in blog/lib.php, some in blocks/... This aims to clean up the current API, makit it easier to expend the tags functions in moodle.

      I'm sending a first file, containing only documentation and prototypes. I'm trying to come up with something that does the job, but is as minimal as possible.

      Missing from this file are:

      • tag_selection_box(...): a function to display the "tag selection box", so that all forms display the same interface to the user (which is currently not the case: user interests and blog posts have different ways of getting tags)
      • tag_get_links(...): a function to return the tags along with the html links to them
      • ...?

      Attachments

        Activity

          People

            scyrma Mathieu Petit-Clair
            scyrma Mathieu Petit-Clair
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08