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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.3
    • 2.6.3
    • Set: Dataform
    • None
    • MOODLE_26_STABLE
    • 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

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            Itamar Tzadok Itamar Tzadok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14