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

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

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

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

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

@return int
Returns current view link type