private function generateProcFiles()
{
$files = '';
$fileList = $this->datastore->getCol('files', 'file');
foreach ($fileList as $file) {
$files .= "<tr><td>{$file}</td></tr>\n";
}
$nonFiles = '';
$ignoredFiles = $this->datastore->getRow('ignoredFiles');
foreach ($ignoredFiles as $row) {
if (empty($row['file'])) {
continue;
}
$nonFiles .= "<tr><td>{$row['file']}</td><td>{$row['reason']}</td></tr>\n";
}
$html = $this->getBasedPage('proc_files');
$html = $this->injectBloc($html, 'FILES', $files);
$html = $this->injectBloc($html, 'NON-FILES', $nonFiles);
$this->putBasedPage('proc_files', $html);
}