Public Member Functions | |
newAction () | |
customerAction () | |
statusAction () |
Definition at line 35 of file OrderController.php.
customerAction | ( | ) |
Definition at line 45 of file OrderController.php.
00046 { 00047 if (Mage::app()->getStore()->isCurrentlySecure()) { 00048 $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); 00049 Mage::helper('rss')->authFrontend(); 00050 } else { 00051 $this->_redirect('rss/order/customer', array('_secure'=>true)); 00052 return $this; 00053 } 00054 }
newAction | ( | ) |
Definition at line 37 of file OrderController.php.
00038 { 00039 Mage::helper('rss')->authAdmin('sales/order'); 00040 $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); 00041 $this->loadLayout(false); 00042 $this->renderLayout(); 00043 }
statusAction | ( | ) |
Definition at line 56 of file OrderController.php.
00057 { 00058 $decrypt = Mage::helper('core')->decrypt($this->getRequest()->getParam('data')); 00059 $data = explode(":",$decrypt); 00060 $oid = (int) $data[0]; 00061 if ($oid) { 00062 $order = Mage::getModel('sales/order')->load($oid); 00063 if ($order && $order->getId()) { 00064 Mage::register('current_order', $order); 00065 $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); 00066 $this->loadLayout(false); 00067 $this->renderLayout(); 00068 return; 00069 } 00070 } 00071 $this->_forward('nofeed', 'index', 'rss'); 00072 }