source/Application/Controller/FrontendController.php
public function addRssFeed($title, $url, $key = null)
    {
        if (!is_array($this->_aRssLinks)) {
            $this->_aRssLinks = [];
        }

        $url = \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->prepareUrlForNoSession($url);

        if ($key === null) {
            $this->_aRssLinks[] = ['title' => $title, 'link' => $url];
        } else {
            $this->_aRssLinks[$key] = ['title' => $title, 'link' => $url];
        }
    }
public function addRssFeed($title, $url, $key = null)
    {
        if (!is_array($this->_aRssLinks)) {
            $this->_aRssLinks = [];
        }

        $url = \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->prepareUrlForNoSession($url);

        if ($key === null) {
            $this->_aRssLinks[] = ['title' => $title, 'link' => $url];
        } else {
            $this->_aRssLinks[$key] = ['title' => $title, 'link' => $url];
        }
    }
public function addRssFeed ( $ title , $ url , $ key = null ) { if ( ! is_array ( $ this -> _aRssLinks ) ) { $ this -> _aRssLinks = [ ] ; } $ url = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsUrl ( ) -> prepareUrlForNoSession ( $ url ) ; if ( $ key === null ) { $ this -> _aRssLinks [ ] = [ 'title' => $ title , 'link' => $ url ] ; } else { $ this -> _aRssLinks [ $ key ] = [ 'title' => $ title , 'link' => $ url ] ; } }
addRssFeed adds link to rss

@param string $title feed page title
@param string $url   feed url
@param int    $key   feed number
addRssFeed adds link to rss