source/Core/Smarty/Plugin/EmosAdapter.php
protected function _getTplName()
    {
        if (!($sCurrTpl = basename(( string )\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('tpl')))) {
            // in case template was not defined in request
            $sCurrTpl = \OxidEsales\Eshop\Core\Registry::getConfig()->getActiveView()->getTemplateName();
        }

        return $sCurrTpl;
    }
protected function _getTplName()
    {
        if (!($sCurrTpl = basename(( string )\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('tpl')))) {
            // in case template was not defined in request
            $sCurrTpl = \OxidEsales\Eshop\Core\Registry::getConfig()->getActiveView()->getTemplateName();
        }

        return $sCurrTpl;
    }
protected function _getTplName ( ) { if ( ! ( $ sCurrTpl = basename ( ( string ) \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'tpl' ) ) ) ) { // in case template was not defined in request $ sCurrTpl = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActiveView ( ) -> getTemplateName ( ) ; } return $ sCurrTpl ; }
Returns active view template name

@return string
Returns active view template name