source/Application/Controller/AccountRecommlistController.php
public function getArticleList()
    {
        if ($this->_oActRecommListArticles === null) {
            $this->_oActRecommListArticles = false;

            if (($oRecommList = $this->getActiveRecommList())) {
                $oItemList = $oRecommList->getArticles();

                if ($oItemList->count()) {
                    foreach ($oItemList as $key => $oItem) {
                        if (!$oItem->isVisible()) {
                            $oRecommList->removeArticle($oItem->getId());
                            $oItemList->offsetUnset($key);
                            continue;
                        }

                        $oItem->text = $oRecommList->getArtDescription($oItem->getId());
                    }
                    $this->_oActRecommListArticles = $oItemList;
                }
            }
        }

        return $this->_oActRecommListArticles;
    }
public function getArticleList()
    {
        if ($this->_oActRecommListArticles === null) {
            $this->_oActRecommListArticles = false;

            if (($oRecommList = $this->getActiveRecommList())) {
                $oItemList = $oRecommList->getArticles();

                if ($oItemList->count()) {
                    foreach ($oItemList as $key => $oItem) {
                        if (!$oItem->isVisible()) {
                            $oRecommList->removeArticle($oItem->getId());
                            $oItemList->offsetUnset($key);
                            continue;
                        }

                        $oItem->text = $oRecommList->getArtDescription($oItem->getId());
                    }
                    $this->_oActRecommListArticles = $oItemList;
                }
            }
        }

        return $this->_oActRecommListArticles;
    }
public function getArticleList ( ) { if ( $ this -> _oActRecommListArticles === null ) { $ this -> _oActRecommListArticles = false ; if ( ( $ oRecommList = $ this -> getActiveRecommList ( ) ) ) { $ oItemList = $ oRecommList -> getArticles ( ) ; if ( $ oItemList -> count ( ) ) { foreach ( $ oItemList as $ key => $ oItem ) { if ( ! $ oItem -> isVisible ( ) ) { $ oRecommList -> removeArticle ( $ oItem -> getId ( ) ) ; $ oItemList -> offsetUnset ( $ key ) ; continue ; } $ oItem -> text = $ oRecommList -> getArtDescription ( $ oItem -> getId ( ) ) ; } $ this -> _oActRecommListArticles = $ oItemList ; } } } return $ this -> _oActRecommListArticles ; }
return all articles in the recomm list

@return null
return all articles in the recomm list