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

Tidy documentation about customdata in moodleforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
    • Affected Branches:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: