Mage_Adminhtml_Sales_Order_EditController Class Reference

Inheritance diagram for Mage_Adminhtml_Sales_Order_EditController:

Mage_Adminhtml_Sales_Order_CreateController Mage_Adminhtml_Controller_Action Mage_Core_Controller_Varien_Action

List of all members.

Public Member Functions

 startAction ()

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 35 of file EditController.php.


Member Function Documentation

_construct (  )  [protected]

Additional initialization

Reimplemented from Mage_Adminhtml_Sales_Order_CreateController.

Definition at line 41 of file EditController.php.

00042     {
00043         $this->setUsedModuleName('Mage_Sales');
00044     }

startAction (  ) 

Start edit order initialization

Reimplemented from Mage_Adminhtml_Sales_Order_CreateController.

Definition at line 49 of file EditController.php.

00050     {
00051         $this->_getSession()->clear();
00052         $orderId = $this->getRequest()->getParam('order_id');
00053         $order = Mage::getModel('sales/order')->load($orderId);
00054 
00055         if ($order->getId()) {
00056             $this->_getSession()->setUseOldShippingMethod(true);
00057             $this->_getOrderCreateModel()->initFromOrder($order);
00058             $this->_redirect('*/*');
00059         }
00060         else {
00061             $this->_redirect('*/sales_order/');
00062         }
00063     }


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

Generated on Sat Jul 4 17:23:29 2009 for Magento by  doxygen 1.5.8