Frontend\Modules\Search\Actions\Index::display PHP Метод

display() приватный Метод

Display
private display ( )
    private function display()
    {
        // set variables
        $this->requestedPage = $this->URL->getParameter('page', 'int', 1);
        $this->limit = $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();
    }