Public Member Functions | |
preDispatch () | |
notifystockAction () | |
reviewAction () |
Definition at line 35 of file CatalogController.php.
notifystockAction | ( | ) |
Definition at line 50 of file CatalogController.php.
00051 { 00052 $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); 00053 $this->loadLayout(false); 00054 $this->renderLayout(); 00055 }
preDispatch | ( | ) |
Controller predispatch method
Reimplemented from Mage_Adminhtml_Controller_Action.
Definition at line 37 of file CatalogController.php.
00038 { 00039 $path = ''; 00040 if ($this->getRequest()->getActionName() == 'review') { 00041 $path = 'catalog/reviews_ratings'; 00042 } elseif ($this->getRequest()->getActionName() == 'notifystock') { 00043 $path = 'catalog/products'; 00044 } 00045 Mage::helper('adminhtml/rss')->authAdmin($path); 00046 parent::preDispatch(); 00047 return $this; 00048 }
reviewAction | ( | ) |
Definition at line 57 of file CatalogController.php.
00058 { 00059 $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); 00060 $this->loadLayout(false); 00061 $this->renderLayout(); 00062 }