source/Application/Controller/AccountNoticeListController.php
public function getSimilarProducts()
    {
        // similar products list
        if ($this->_aSimilarProductList === null && count($this->getNoticeProductList())) {
            // just ensuring that next call will skip this check
            $this->_aSimilarProductList = false;

            // loading similar products
            if ($oSimilarProd = current($this->getNoticeProductList())) {
                $this->_aSimilarProductList = $oSimilarProd->getSimilarProducts();
            }
        }

        return $this->_aSimilarProductList;
    }
public function getSimilarProducts()
    {
        // similar products list
        if ($this->_aSimilarProductList === null && count($this->getNoticeProductList())) {
            // just ensuring that next call will skip this check
            $this->_aSimilarProductList = false;

            // loading similar products
            if ($oSimilarProd = current($this->getNoticeProductList())) {
                $this->_aSimilarProductList = $oSimilarProd->getSimilarProducts();
            }
        }

        return $this->_aSimilarProductList;
    }
public function getSimilarProducts ( ) { // similar products list if ( $ this -> _aSimilarProductList === null && count ( $ this -> getNoticeProductList ( ) ) ) { // just ensuring that next call will skip this check $ this -> _aSimilarProductList = false ; // loading similar products if ( $ oSimilarProd = current ( $ this -> getNoticeProductList ( ) ) ) { $ this -> _aSimilarProductList = $ oSimilarProd -> getSimilarProducts ( ) ; } } return $ this -> _aSimilarProductList ; }
Template variable getter. Returns the products which are in the noticelist

@return array
Template variable getter . Returns the products which are in the noticelist