source/Application/Model/RssFeed.php
protected function _loadData($sTag, $sTitle, $sDesc, $aItems, $sRssUrl, $sTargetUrl = null)
    {
        $this->_loadBaseChannel();

        $this->_aChannel['selflink'] = $sRssUrl;

        if ($sTargetUrl) {
            $this->_aChannel['link'] = $this->_aChannel['image']['link'] = $sTargetUrl;
        }

        $this->_aChannel['image']['title'] = $this->_aChannel['title'] = $sTitle;
        $this->_aChannel['image']['description'] = $this->_aChannel['description'] = $sDesc;

        $this->_aChannel['items'] = $aItems;

        if ($sTag) {
            $this->_aChannel['lastBuildDate'] = $this->_getLastBuildDate($sTag, $this->_aChannel);
            $this->_saveToCache($sTag, $this->_aChannel);
        } else {
            $this->_aChannel['lastBuildDate'] = date('D, d M Y H:i:s O', Registry::getUtilsDate()->getTime());
        }
    }
protected function _loadData($sTag, $sTitle, $sDesc, $aItems, $sRssUrl, $sTargetUrl = null)
    {
        $this->_loadBaseChannel();

        $this->_aChannel['selflink'] = $sRssUrl;

        if ($sTargetUrl) {
            $this->_aChannel['link'] = $this->_aChannel['image']['link'] = $sTargetUrl;
        }

        $this->_aChannel['image']['title'] = $this->_aChannel['title'] = $sTitle;
        $this->_aChannel['image']['description'] = $this->_aChannel['description'] = $sDesc;

        $this->_aChannel['items'] = $aItems;

        if ($sTag) {
            $this->_aChannel['lastBuildDate'] = $this->_getLastBuildDate($sTag, $this->_aChannel);
            $this->_saveToCache($sTag, $this->_aChannel);
        } else {
            $this->_aChannel['lastBuildDate'] = date('D, d M Y H:i:s O', Registry::getUtilsDate()->getTime());
        }
    }
protected function _loadData ( $ sTag , $ sTitle , $ sDesc , $ aItems , $ sRssUrl , $ sTargetUrl = null ) { $ this -> _loadBaseChannel ( ) ; $ this -> _aChannel [ 'selflink' ] = $ sRssUrl ; if ( $ sTargetUrl ) { $ this -> _aChannel [ 'link' ] = $ this -> _aChannel [ 'image' ] [ 'link' ] = $ sTargetUrl ; } $ this -> _aChannel [ 'image' ] [ 'title' ] = $ this -> _aChannel [ 'title' ] = $ sTitle ; $ this -> _aChannel [ 'image' ] [ 'description' ] = $ this -> _aChannel [ 'description' ] = $ sDesc ; $ this -> _aChannel [ 'items' ] = $ aItems ; if ( $ sTag ) { $ this -> _aChannel [ 'lastBuildDate' ] = $ this -> _getLastBuildDate ( $ sTag , $ this -> _aChannel ) ; $ this -> _saveToCache ( $ sTag , $ this -> _aChannel ) ; } else { $ this -> _aChannel [ 'lastBuildDate' ] = date ( 'D, d M Y H:i:s O' , Registry :: getUtilsDate ( ) -> getTime ( ) ) ; } }
_loadData loads given data to channel

@param string $sTag       tag
@param string $sTitle     object title
@param string $sDesc      object description
@param array  $aItems     items data to be put to rss
@param string $sRssUrl    url of rss page
@param string $sTargetUrl url of page rss represents

@access protected
_loadData loads given data to channel