source/Application/Model/RssFeed.php
protected function _getLastBuildDate($name, $aData)
    {
        if ($aData2 = Registry::getUtils()->fromFileCache($this->_getCacheId($name))) {
            $sLastBuildDate = $aData2['content']['lastBuildDate'];
            $aData2['content']['lastBuildDate'] = '';
            $aData['lastBuildDate'] = '';
            if (!strcmp(serialize($aData), serialize($aData2['content']))) {
                return $sLastBuildDate;
            }
        }

        return date('D, d M Y H:i:s O');
    }
protected function _getLastBuildDate($name, $aData)
    {
        if ($aData2 = Registry::getUtils()->fromFileCache($this->_getCacheId($name))) {
            $sLastBuildDate = $aData2['content']['lastBuildDate'];
            $aData2['content']['lastBuildDate'] = '';
            $aData['lastBuildDate'] = '';
            if (!strcmp(serialize($aData), serialize($aData2['content']))) {
                return $sLastBuildDate;
            }
        }

        return date('D, d M Y H:i:s O');
    }
protected function _getLastBuildDate ( $ name , $ aData ) { if ( $ aData2 = Registry :: getUtils ( ) -> fromFileCache ( $ this -> _getCacheId ( $ name ) ) ) { $ sLastBuildDate = $ aData2 [ 'content' ] [ 'lastBuildDate' ] ; $ aData2 [ 'content' ] [ 'lastBuildDate' ] = '' ; $ aData [ 'lastBuildDate' ] = '' ; if ( ! strcmp ( serialize ( $ aData ) , serialize ( $ aData2 [ 'content' ] ) ) ) { return $ sLastBuildDate ; } } return date ( 'D, d M Y H:i:s O' ) ; }
_getLastBuildDate check if changed data and renew last build date if needed
returns result as string

@param string $name  Rss data Id
@param array  $aData channel data

@access protected
@return string
_getLastBuildDate check if changed data and renew last build date if needed returns result as string