source/Application/Controller/FrontendController.php
public function getCompareItemCount()
    {
        if ($this->_iCompItemsCnt === null) {
            $items = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('aFiltcompproducts');
            $this->_iCompItemsCnt = is_array($items) ? count($items) : 0;
        }

        return $this->_iCompItemsCnt;
    }
public function getCompareItemCount()
    {
        if ($this->_iCompItemsCnt === null) {
            $items = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('aFiltcompproducts');
            $this->_iCompItemsCnt = is_array($items) ? count($items) : 0;
        }

        return $this->_iCompItemsCnt;
    }
public function getCompareItemCount ( ) { if ( $ this -> _iCompItemsCnt === null ) { $ items = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'aFiltcompproducts' ) ; $ this -> _iCompItemsCnt = is_array ( $ items ) ? count ( $ items ) : 0 ; } return $ this -> _iCompItemsCnt ; }
Template variable getter. Returns comparison article list count.

@return integer
Template variable getter . Returns comparison article list count .