public function DataFile::scan in Forena Reports 7.5
Overrides FileBase::scan
File
- src/
File/ DataFile.php, line 83
Class
Namespace
Drupal\forena\FileCode
public function scan($prefix = '') {
if ($this->needScan) {
// Add the base report files.
$this
->scanInclude($this->dir, '');
// Now add the module provided ones.
if ($this->includes) {
foreach ($this->includes as $repos => $directory) {
$this
->scanInclude($directory, $repos . '/');
}
}
$this->needScan = FALSE;
}
}