Public Member Functions | |
indexAction () | |
nofeedAction () | |
wishlistAction () |
Definition at line 34 of file IndexController.php.
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 }