Public Member Functions | |
_addHeader ($data=array()) | |
_addEntries ($entries) | |
_addEntry ($entry) | |
getFeedArray () | |
createRssXml () | |
Protected Attributes | |
$_feedArray = array() |
Definition at line 35 of file Rss.php.
_addEntries | ( | $ | entries | ) |
_addEntry | ( | $ | entry | ) |
_addHeader | ( | $ | data = array() |
) |
createRssXml | ( | ) |
Definition at line 62 of file Rss.php.
00063 { 00064 try { 00065 $rssFeedFromArray = Zend_Feed::importArray($this->getFeedArray(), 'rss'); 00066 return $rssFeedFromArray->saveXML(); 00067 } catch (Exception $e) { 00068 return Mage::helper('rss')->__('Error in processing xml. %s',$e->getMessage()); 00069 } 00070 }
getFeedArray | ( | ) |