src/ShopBundle/objects/ArticleList/Module.php
protected function getRenderedList()
    {
        $enrichedState = $this->enrichStateWithDefaultsFromConfiguration();
        $results = $this->getResults($enrichedState);

        $oResponse = new MTShopArticleListResponse();
        $oResponse->bHasNextPage = ($results->getNumberOfPages() > $results->getPage() + 1);
        $oResponse->bHasPreviousPage = ($results->getPage() > 0);
        $oResponse->iListKey = $this->sModuleSpotName;
        $oResponse->iNumberOfResults = $results->getTotalNumberOfResults();

        $template = $this->getListTemplateFromConfigName($this->aModuleConfig['view']);
        $oResponse->sItemPage = $this->renderProducts($template);

        return $oResponse;
    }
protected function getRenderedList()
    {
        $enrichedState = $this->enrichStateWithDefaultsFromConfiguration();
        $results = $this->getResults($enrichedState);

        $oResponse = new MTShopArticleListResponse();
        $oResponse->bHasNextPage = ($results->getNumberOfPages() > $results->getPage() + 1);
        $oResponse->bHasPreviousPage = ($results->getPage() > 0);
        $oResponse->iListKey = $this->sModuleSpotName;
        $oResponse->iNumberOfResults = $results->getTotalNumberOfResults();

        $template = $this->getListTemplateFromConfigName($this->aModuleConfig['view']);
        $oResponse->sItemPage = $this->renderProducts($template);

        return $oResponse;
    }
protected function getRenderedList ( ) { $ enrichedState = $ this -> enrichStateWithDefaultsFromConfiguration ( ) ; $ results = $ this -> getResults ( $ enrichedState ) ; $ oResponse = new MTShopArticleListResponse ( ) ; $ oResponse -> bHasNextPage = ( $ results -> getNumberOfPages ( ) > $ results -> getPage ( ) + 1 ) ; $ oResponse -> bHasPreviousPage = ( $ results -> getPage ( ) > 0 ) ; $ oResponse -> iListKey = $ this -> sModuleSpotName ; $ oResponse -> iNumberOfResults = $ results -> getTotalNumberOfResults ( ) ; $ template = $ this -> getListTemplateFromConfigName ( $ this -> aModuleConfig [ 'view' ] ) ; $ oResponse -> sItemPage = $ this -> renderProducts ( $ template ) ; return $ oResponse ; }
returns a fully rendered list - used to page via ajax.

@return MTShopArticleListResponse
returns a fully rendered list - used to page via ajax .