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;
    }
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;
    }
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 ; }
Get plugin class that handles this resource

@param resource $resource Resource type
@return string Class name
Get plugin class that handles this resource