protected function elFinderVolumeDrupal::_scandir in elFinder file manager 6.2
Same name and namespace in other branches
- 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_scandir()
- 7.3 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_scandir()
- 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_scandir()
* Return files list in directory. * *
Parameters
string $path dir path: * @return array * @author Dmitry (dio) Levashov *
1 call to elFinderVolumeDrupal::_scandir()
File
- inc/
elfinder.drupalfs.driver.inc, line 347
Class
- elFinderVolumeDrupal
- elFinder driver for Drupal 6 filesystem.
Code
protected function _scandir($path) {
$files = array();
foreach (scandir($path) as $name) {
if ($name != '.' && $name != '..') {
$files[] = $path . DIRECTORY_SEPARATOR . $name;
}
}
return $files;
}