source/Core/SeoDecoder.php
protected function _decodeSimpleUrl($sParams)
    {
        $sLastParam = trim($sParams, '/');

        // active object id
        $sUrl = null;

        if ($sLastParam) {
            $iLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();

            // article ?
            if (strpos($sLastParam, '.htm') !== false) {
                $sUrl = $this->_getObjectUrl($sLastParam, 'oxarticles', $iLanguage, 'oxarticle');
            } else {
                // category ?
                if (!($sUrl = $this->_getObjectUrl($sLastParam, 'oxcategories', $iLanguage, 'oxcategory'))) {
                    // maybe manufacturer ?
                    if (!($sUrl = $this->_getObjectUrl($sLastParam, 'oxmanufacturers', $iLanguage, 'oxmanufacturer'))) {
                        // then maybe vendor ?
                        $sUrl = $this->_getObjectUrl($sLastParam, 'oxvendor', $iLanguage, 'oxvendor');
                    }
                }
            }
        }

        return $sUrl;
    }
protected function _decodeSimpleUrl($sParams)
    {
        $sLastParam = trim($sParams, '/');

        // active object id
        $sUrl = null;

        if ($sLastParam) {
            $iLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();

            // article ?
            if (strpos($sLastParam, '.htm') !== false) {
                $sUrl = $this->_getObjectUrl($sLastParam, 'oxarticles', $iLanguage, 'oxarticle');
            } else {
                // category ?
                if (!($sUrl = $this->_getObjectUrl($sLastParam, 'oxcategories', $iLanguage, 'oxcategory'))) {
                    // maybe manufacturer ?
                    if (!($sUrl = $this->_getObjectUrl($sLastParam, 'oxmanufacturers', $iLanguage, 'oxmanufacturer'))) {
                        // then maybe vendor ?
                        $sUrl = $this->_getObjectUrl($sLastParam, 'oxvendor', $iLanguage, 'oxvendor');
                    }
                }
            }
        }

        return $sUrl;
    }
protected function _decodeSimpleUrl ( $ sParams ) { $ sLastParam = trim ( $ sParams , '/' ) ; // active object id $ sUrl = null ; if ( $ sLastParam ) { $ iLanguage = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ; // article ? if ( strpos ( $ sLastParam , '.htm' ) !== false ) { $ sUrl = $ this -> _getObjectUrl ( $ sLastParam , 'oxarticles' , $ iLanguage , 'oxarticle' ) ; } else { // category ? if ( ! ( $ sUrl = $ this -> _getObjectUrl ( $ sLastParam , 'oxcategories' , $ iLanguage , 'oxcategory' ) ) ) { // maybe manufacturer ? if ( ! ( $ sUrl = $ this -> _getObjectUrl ( $ sLastParam , 'oxmanufacturers' , $ iLanguage , 'oxmanufacturer' ) ) ) { // then maybe vendor ? $ sUrl = $ this -> _getObjectUrl ( $ sLastParam , 'oxvendor' , $ iLanguage , 'oxvendor' ) ; } } } } return $ sUrl ; }
Tries to fetch SEO url according to type II seo url data. If no
specified data is found NULL will be returned

@param string $sParams request params (url chunk)

@return string
Tries to fetch SEO url according to type II seo url data . If no specified data is found NULL will be returned