function _is_dir($dir)
    {
        $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $dir));

        $temp = &$this->dirs;
        foreach ($dirs as $dir) {
            if (!isset($temp[$dir])) {
                return false;
            }
            $temp = &$temp[$dir];
        }
    }
function _is_dir($dir)
    {
        $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $dir));

        $temp = &$this->dirs;
        foreach ($dirs as $dir) {
            if (!isset($temp[$dir])) {
                return false;
            }
            $temp = &$temp[$dir];
        }
    }
function _is_dir ( $ dir ) { $ dirs = explode ( '/' , preg_replace ( '#^/|/(?=/)|/$#' , '' , $ dir ) ) ; $ temp = & $ this -> dirs ; foreach ( $ dirs as $ dir ) { if ( ! isset ( $ temp [ $ dir ] ) ) { return false ; } $ temp = & $ temp [ $ dir ] ; } }
Checks cache for directory

@param String $dir
@access private
Checks cache for directory