original_string: public function strings_for_js($identifiers, $component, $a = null) {
          foreach ($identifiers as $key => $identifier) {
              if (is_array($a) && array_key_exists($key, $a)) {
                  $extra = $a[$key];
              } else {
                  $extra = $a;
              }
              $this->string_for_js($identifier, $component, $extra);
          }
      }
code: public function strings_for_js($identifiers, $component, $a = null) {
          foreach ($identifiers as $key => $identifier) {
              if (is_array($a) && array_key_exists($key, $a)) {
                  $extra = $a[$key];
              } else {
                  $extra = $a;
              }
              $this->string_for_js($identifier, $component, $extra);
          }
      }
code_tokens: public function strings_for_js ( $ identifiers , $ component , $ a = null ) { foreach ( $ identifiers as $ key => $ identifier ) { if ( is_array ( $ a ) && array_key_exists ( $ key , $ a ) ) { $ extra = $ a [ $ key ] ; } else { $ extra = $ a ; } $ this -> string_for_js ( $ identifier , $ component , $ extra ) ; } }
docstring: Make an array of language strings available for JS.
  
  This function calls the above function {@link string_for_js()} for each requested
  string in the $identifiers array that is passed to the argument for a single module
  passed in $module.
  
  <code>
  $PAGE->requires->strings_for_js(array('one', 'two', 'three'), 'mymod', array('a', null, 3));
  
  // The above is identical to calling:
  
  $PAGE->requires->string_for_js('one', 'mymod', 'a');
  $PAGE->requires->string_for_js('two', 'mymod');
  $PAGE->requires->string_for_js('three', 'mymod', 3);
  </code>
  
  @param array $identifiers An array of desired strings
  @param string $component The module to load for
  @param mixed $a This can either be a single variable that gets passed as extra
  information for every string or it can be an array of mixed data where the
  key for the data matches that of the identifier it is meant for.
docstring_tokens: Make an array of language strings available for JS .