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

Add the option to pass parameters in 'key' and 'component' values for mustache_string_helper

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9
    • None
    • Themes

    Description

      mustache_parameter_helper could receive 3 different parameters to call get_string function: $key, $component and $a as json format information. $a parameter could contain complex information that could include parameter or information for other helpers.

      Adding that option to pass complex information to $key and $component parameters could make more simple the information passed to the mustache template, because would be easier to reuse some of the data sent.

      This issue has been created because once this is integrated mustache created in MDL-67060 or MDL-67508, for example, could be easier.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amaia Amaia Anabitarte
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: