You are here

public function FrxDataFile::scan in Forena Reports 7.4

Overrides FrxFile::scan

File

./FrxDataFile.inc, line 83

Class

FrxDataFile

Code

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;
  }
}