original_string: public function get_handled_file_types($module) {
          $types = array();
          foreach ($this->filehandlers as $handler) {
              if ($handler->module == $module) {
                  if ($handler->extension == '*') {
                      return '*';
                  } else {
                      // Prepending '.' as otherwise mimeinfo fails.
                      $types[] = '.'.$handler->extension;
                  }
              }
          }
          return $types;
      }
code: public function get_handled_file_types($module) {
          $types = array();
          foreach ($this->filehandlers as $handler) {
              if ($handler->module == $module) {
                  if ($handler->extension == '*') {
                      return '*';
                  } else {
                      // Prepending '.' as otherwise mimeinfo fails.
                      $types[] = '.'.$handler->extension;
                  }
              }
          }
          return $types;
      }
code_tokens: public function get_handled_file_types ( $ module ) { $ types = array ( ) ; foreach ( $ this -> filehandlers as $ handler ) { if ( $ handler -> module == $ module ) { if ( $ handler -> extension == '*' ) { return '*' ; } else { // Prepending '.' as otherwise mimeinfo fails. $ types [ ] = '.' . $ handler -> extension ; } } } return $ types ; }
docstring: Gets a list of the file types that are handled by a particular module
  
  @param string $module The name of the module to check
  @return array of file extensions or string '*'
docstring_tokens: Gets a list of the file types that are handled by a particular module