source/Application/Component/Widget/ArticleDetails.php
public function getLinkType()
    {
        if ($this->_iLinkType === null) {
            $sListType = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('listtype');
            if ('vendor' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_VENDOR;
            } elseif ('manufacturer' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_MANUFACTURER;
            // @deprecated since v5.3 (2016-06-17); Listmania will be moved to an own module.
            } elseif ('recommlist' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_RECOMM;
                // END deprecated
            } else {
                $this->_iLinkType = OXARTICLE_LINKTYPE_CATEGORY;

                // price category has own type..
                if (($oCat = $this->getActiveCategory()) && $oCat->isPriceCategory()) {
                    $this->_iLinkType = OXARTICLE_LINKTYPE_PRICECATEGORY;
                }
            }
        }

        return $this->_iLinkType;
    }
public function getLinkType()
    {
        if ($this->_iLinkType === null) {
            $sListType = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('listtype');
            if ('vendor' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_VENDOR;
            } elseif ('manufacturer' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_MANUFACTURER;
            // @deprecated since v5.3 (2016-06-17); Listmania will be moved to an own module.
            } elseif ('recommlist' == $sListType) {
                $this->_iLinkType = OXARTICLE_LINKTYPE_RECOMM;
                // END deprecated
            } else {
                $this->_iLinkType = OXARTICLE_LINKTYPE_CATEGORY;

                // price category has own type..
                if (($oCat = $this->getActiveCategory()) && $oCat->isPriceCategory()) {
                    $this->_iLinkType = OXARTICLE_LINKTYPE_PRICECATEGORY;
                }
            }
        }

        return $this->_iLinkType;
    }
public function getLinkType ( ) { if ( $ this -> _iLinkType === null ) { $ sListType = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'listtype' ) ; if ( 'vendor' == $ sListType ) { $ this -> _iLinkType = OXARTICLE_LINKTYPE_VENDOR ; } elseif ( 'manufacturer' == $ sListType ) { $ this -> _iLinkType = OXARTICLE_LINKTYPE_MANUFACTURER ; // @deprecated since v5.3 (2016-06-17); Listmania will be moved to an own module. } elseif ( 'recommlist' == $ sListType ) { $ this -> _iLinkType = OXARTICLE_LINKTYPE_RECOMM ; // END deprecated } else { $ this -> _iLinkType = OXARTICLE_LINKTYPE_CATEGORY ; // price category has own type.. if ( ( $ oCat = $ this -> getActiveCategory ( ) ) && $ oCat -> isPriceCategory ( ) ) { $ this -> _iLinkType = OXARTICLE_LINKTYPE_PRICECATEGORY ; } } } return $ this -> _iLinkType ; }
Returns current view link type.

@return int
Returns current view link type .