original_string: public function get_installed_plugins($type) {
          $this->load_installed_plugins();
          if (isset($this->installedplugins[$type])) {
              return $this->installedplugins[$type];
          }
          return array();
      }
code: public function get_installed_plugins($type) {
          $this->load_installed_plugins();
          if (isset($this->installedplugins[$type])) {
              return $this->installedplugins[$type];
          }
          return array();
      }
code_tokens: public function get_installed_plugins ( $ type ) { $ this -> load_installed_plugins ( ) ; if ( isset ( $ this -> installedplugins [ $ type ] ) ) { return $ this -> installedplugins [ $ type ] ; } return array ( ) ; }
docstring: Return list of installed plugins of given type.
  @param string $type
  @return array $name=>$version
docstring_tokens: Return list of installed plugins of given type .