Mage_Rss_IndexController Class Reference

Inheritance diagram for Mage_Rss_IndexController:

Mage_Core_Controller_Front_Action Mage_Core_Controller_Varien_Action

List of all members.

Public Member Functions

 indexAction ()
 nofeedAction ()
 wishlistAction ()


Detailed Description

Definition at line 34 of file IndexController.php.


Member Function Documentation

indexAction (  ) 

Definition at line 36 of file IndexController.php.

00037     {
00038         if (Mage::getStoreConfig('rss/config/active')) {
00039             $this->loadLayout();
00040             $this->renderLayout();
00041         } else {
00042             $this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
00043             $this->getResponse()->setHeader('Status','404 File not found');
00044             $this->_forward('defaultNoRoute');
00045         }
00046     }

nofeedAction (  ) 

Definition at line 48 of file IndexController.php.

00049     {
00050         $this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
00051         $this->getResponse()->setHeader('Status','404 File not found');
00052         $this->loadLayout(false);
00053         $this->renderLayout();
00054     }

wishlistAction (  ) 

Definition at line 56 of file IndexController.php.

00057     {
00058         if (Mage::getStoreConfig('rss/wishlist/active')) {
00059             $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8');
00060             $this->loadLayout(false);
00061             $this->renderLayout();
00062         } else {
00063             $this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
00064             $this->getResponse()->setHeader('Status','404 File not found');
00065             $this->_forward('nofeed','index','rss');
00066             return;
00067         }
00068     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:39 2009 for Magento by  doxygen 1.5.8