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

Tidy documentation about customdata in moodleforms

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.9
    • None
    • Forms Library
    • MOODLE_29_STABLE

    Description

      While reviewing MDL-48665 a discussion was raised about when customdata in moodleforms should be allowed to be objects or any other structure.

      Finally it was agreed that any structure is ok (there are already uses... see the original issue for more details).

      So this is about to tidy places where customdata and array are documented together changing them to explicitly say that any structure is allowed. It's up to the developer to consider when an object is ok... or an array maybe needed in case future/dynamic structures are going to be passed or whatever.

      A preliminary search returned at least these 2 places to modify:

      Ciao

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stronk7 Eloy Lafuente (stronk7)
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: