private function display()
{
// set variables
$this->requestedPage = 1;
$this->limit = (int) $this->get('fork.settings')->get('Search', 'overview_num_items', 20);
$this->offset = $this->requestedPage * $this->limit - $this->limit;
$this->cacheFile = FRONTEND_CACHE_PATH . '/' . $this->getModule() . '/' . LANGUAGE . '_' . md5($this->term) . '_' . $this->offset . '_' . $this->limit . '.php';
// load the cached data
if (!$this->getCachedData()) {
// ... or load the real data
$this->getRealData();
}
// parse
$this->parse();
// output
$this->output(self::OK, $this->tpl->renderTemplate(FRONTEND_PATH . '/Modules/Search/Layout/Templates/Results.html.twig'));
}