public static function addResourceDirectory($prefix, $dir)
    {
        if(self::$_resourceLoader) {
            self::$_resourceLoader->addPrefixPath($prefix, $dir);
        }
    }
public static function addResourceDirectory($prefix, $dir)
    {
        if(self::$_resourceLoader) {
            self::$_resourceLoader->addPrefixPath($prefix, $dir);
        }
    }
public static function addResourceDirectory ( $ prefix , $ dir ) { if ( self :: $ _resourceLoader ) { self :: $ _resourceLoader -> addPrefixPath ( $ prefix , $ dir ) ; } }
Add directory to the list of places where to look for resource handlers

@param string $prefix
@param string $dir
Add directory to the list of places where to look for resource handlers