Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5035 Unit tests
  3. CONTRIB-5059

Enhance mod_dataform_generator::create_field() to include values for param1 to param10.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.6.3
    • Component/s: Set: Dataform
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE

      Description

      Add param support:

      for ($i = 1; $i <= 10; $i++) {
          $parami = "param$i";
          if (isset($record->$parami)) {
               $field->$parami = $record->$parami;
          }
      }
      

        Attachments

          Activity

            People

            Assignee:
            itamart Itamar Tzadok
            Reporter:
            itamart Itamar Tzadok
            Tester:
            Itamar Tzadok
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14