Mage_Rss_OrderController Class Reference

Inheritance diagram for Mage_Rss_OrderController:

Mage_Core_Controller_Front_Action Mage_Core_Controller_Varien_Action

List of all members.

Public Member Functions

 newAction ()
 customerAction ()
 statusAction ()


Detailed Description

Definition at line 35 of file OrderController.php.


Member Function Documentation

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     }


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