source/Core/SeoDecoder.php
protected function _getParams($sRequest, $sPath)
    {
        $oStr = getStr();

        $sParams = $oStr->preg_replace('/\?.*/', '', $sRequest);
        $sPath = preg_quote($sPath, '/');
        $sParams = $oStr->preg_replace("/^$sPath/", '', $sParams);

        // this should not happen on most cases, because this redirect is handled by .htaccess
        if ($sParams && !$oStr->preg_match('/\.html$/', $sParams) && !$oStr->preg_match('/\/$/', $sParams)) {
            \OxidEsales\Eshop\Core\Registry::getUtils()->redirect(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopURL() . $sParams . '/', false);
        }

        return $sParams;
    }
protected function _getParams($sRequest, $sPath)
    {
        $oStr = getStr();

        $sParams = $oStr->preg_replace('/\?.*/', '', $sRequest);
        $sPath = preg_quote($sPath, '/');
        $sParams = $oStr->preg_replace("/^$sPath/", '', $sParams);

        // this should not happen on most cases, because this redirect is handled by .htaccess
        if ($sParams && !$oStr->preg_match('/\.html$/', $sParams) && !$oStr->preg_match('/\/$/', $sParams)) {
            \OxidEsales\Eshop\Core\Registry::getUtils()->redirect(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopURL() . $sParams . '/', false);
        }

        return $sParams;
    }
protected function _getParams ( $ sRequest , $ sPath ) { $ oStr = getStr ( ) ; $ sParams = $ oStr -> preg_replace ( '/\?.*/' , '' , $ sRequest ) ; $ sPath = preg_quote ( $ sPath , '/' ) ; $ sParams = $ oStr -> preg_replace ( "/^$sPath/" , '' , $ sParams ) ; // this should not happen on most cases, because this redirect is handled by .htaccess if ( $ sParams && ! $ oStr -> preg_match ( '/\.html$/' , $ sParams ) && ! $ oStr -> preg_match ( '/\/$/' , $ sParams ) ) { \ OxidEsales \ Eshop \ Core \ Registry :: getUtils ( ) -> redirect ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopURL ( ) . $ sParams . '/' , false ) ; } return $ sParams ; }
Extracts SEO paramteters and returns as array

@param string $sRequest request
@param string $sPath    path

@return array $aParams extracted params
Extracts SEO paramteters and returns as array