private function display()
{
// set variables
$this->requestedPage = 1;
$this->limit = (int) $this->get('fork.settings')->get('Search', 'autosuggest_num_items', 10);
$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();
}