original_string: public static function getResourceParser($resource)
      {
          if(self::$_resourceLoader) {
              $type = preg_replace("/[^A-Za-z0-9_]/", " ", get_resource_type($resource));
              $type = str_replace(" ","", ucwords($type));
              return self::$_resourceLoader->load($type);
          }
          return false;
      }
code: public static function getResourceParser($resource)
      {
          if(self::$_resourceLoader) {
              $type = preg_replace("/[^A-Za-z0-9_]/", " ", get_resource_type($resource));
              $type = str_replace(" ","", ucwords($type));
              return self::$_resourceLoader->load($type);
          }
          return false;
      }
code_tokens: public static function getResourceParser ( $ resource ) { if ( self :: $ _resourceLoader ) { $ type = preg_replace ( "/[^A-Za-z0-9_]/" , " " , get_resource_type ( $ resource ) ) ; $ type = str_replace ( " " , "" , ucwords ( $ type ) ) ; return self :: $ _resourceLoader -> load ( $ type ) ; } return false ; }
docstring: Get plugin class that handles this resource
  
  @param resource $resource Resource type
  @return string Class name
docstring_tokens: Get plugin class that handles this resource