public function FrxFile::scan in Forena Reports 7.4
1 call to FrxFile::scan()
- FrxFile::validateAllCache in ./
FrxFile.inc - Called anytime we want to make sure the include cache is good and complete. Any file modifications will cause cache to be rebuild to be rebuilt.
1 method overrides FrxFile::scan()
File
- ./
FrxFile.inc, line 114 - FrxFile.inc File toolbox for manipulating files contained tn the report directory.
Class
- FrxFile
- @file FrxFile.inc File toolbox for manipulating files contained tn the report directory.
Code
public function scan($prefix = '') {
// Add the base report files.
if ($this->needScan) {
$this
->scanInclude($this->dir, $prefix);
// Now add the module provided ones.
if ($this->includes) {
foreach ($this->includes as $directory) {
$this
->scanInclude($directory, $prefix);
}
}
}
}