source/Application/Controller/ArticleListController.php
protected function _addPageNrParam($url, $currentPage, $languageId = null)
    {
        if (\OxidEsales\Eshop\Core\Registry::getUtils()->seoIsActive() && ($category = $this->getActiveCategory())) {
            if ($currentPage) {
                // only if page number > 0
                $url = $category->getBaseSeoLink($languageId, $currentPage);
            }
        } else {
            $url = parent::_addPageNrParam($url, $currentPage, $languageId);
        }

        return $url;
    }
protected function _addPageNrParam($url, $currentPage, $languageId = null)
    {
        if (\OxidEsales\Eshop\Core\Registry::getUtils()->seoIsActive() && ($category = $this->getActiveCategory())) {
            if ($currentPage) {
                // only if page number > 0
                $url = $category->getBaseSeoLink($languageId, $currentPage);
            }
        } else {
            $url = parent::_addPageNrParam($url, $currentPage, $languageId);
        }

        return $url;
    }
protected function _addPageNrParam ( $ url , $ currentPage , $ languageId = null ) { if ( \ OxidEsales \ Eshop \ Core \ Registry :: getUtils ( ) -> seoIsActive ( ) && ( $ category = $ this -> getActiveCategory ( ) ) ) { if ( $ currentPage ) { // only if page number > 0 $ url = $ category -> getBaseSeoLink ( $ languageId , $ currentPage ) ; } } else { $ url = parent :: _addPageNrParam ( $ url , $ currentPage , $ languageId ) ; } return $ url ; }
Adds page number parameter to current Url and returns formatted url

@param string $url         Url to append page numbers
@param int    $currentPage Current page number
@param int    $languageId  Requested language

@return string
Adds page number parameter to current Url and returns formatted url