protected function elFinderVolumeDrupal::DrupalDBAdd in elFinder file manager 6.2
1 call to elFinderVolumeDrupal::DrupalDBAdd()
File
- inc/
elfinder.drupalfs.driver.inc, line 457
Class
- elFinderVolumeDrupal
- elFinder driver for Drupal 6 filesystem.
Code
protected function DrupalDBAdd($path) {
if (is_dir($path)) {
$files = $this
->_scandir($path);
foreach ($files as $file) {
$this
->DrupalDBAdd($file);
}
}
else {
$file = $this
->_drupalfileobject($path);
$this
->DrupalDBAddFile($file);
}
return TRUE;
}