elFinder\elFinderVolumeDriver::cacheDir PHP Метод

cacheDir() защищенный Метод

Get stat for folder content and put in cache
Автор: Dmitry (dio) Levashov
protected cacheDir ( string $path ) : void
$path string
Результат void
    protected function cacheDir($path)
    {
        $this->dirsCache[$path] = array();
        foreach ($this->_scandir($path) as $p) {
            if (($stat = $this->stat($p)) && empty($stat['hidden'])) {
                $this->dirsCache[$path][] = $p;
            }
        }
    }