original_string: function loadStrings($strings) {
          // Load some commonly used strings
          if (get_string_manager()->string_exists($this->title, 'tool_xmldb')) {
              $this->str['title'] = get_string($this->title, 'tool_xmldb');
          } else {
              $this->str['title'] = $this->title;
          }
  
          // Now process the $strings array loading it in the $str atribute
          if ($strings) {
              foreach ($strings as $key => $module) {
                  $this->str[$key] = get_string($key, $module);
              }
          }
      }
code: function loadStrings($strings) {
          // Load some commonly used strings
          if (get_string_manager()->string_exists($this->title, 'tool_xmldb')) {
              $this->str['title'] = get_string($this->title, 'tool_xmldb');
          } else {
              $this->str['title'] = $this->title;
          }
  
          // Now process the $strings array loading it in the $str atribute
          if ($strings) {
              foreach ($strings as $key => $module) {
                  $this->str[$key] = get_string($key, $module);
              }
          }
      }
code_tokens: function loadStrings ( $ strings ) { // Load some commonly used strings if ( get_string_manager ( ) -> string_exists ( $ this -> title , 'tool_xmldb' ) ) { $ this -> str [ 'title' ] = get_string ( $ this -> title , 'tool_xmldb' ) ; } else { $ this -> str [ 'title' ] = $ this -> title ; } // Now process the $strings array loading it in the $str atribute if ( $ strings ) { foreach ( $ strings as $ key => $ module ) { $ this -> str [ $ key ] = get_string ( $ key , $ module ) ; } } }
docstring: loadStrings method, loads the required strings specified in the
  array parameter
  @param string[] $strings
docstring_tokens: loadStrings method loads the required strings specified in the array parameter