Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Mage/Adminhtml/controllers/Sales/OrderController.php
  2.  
  3. <admin>
  4. <routers>
  5. <adminhtml>
  6. <args>
  7. <modules>
  8. <mymodule_resetdownloads before="Mage_Adminhtml">Mymodule_Resetdownloads_Adminhtml</mymodule_resetdownloads>
  9. </modules>
  10. </args>
  11. </adminhtml>
  12. </routers>
  13. </admin>
  14.  
  15. require_once (Mage::getModuleDir('controllers','Mage_Adminhtml').DS.'Sales/OrderController.php');
  16. class Mymodule_Resetdownloads_Adminhtml_Sales_OrderController extends Mage_Adminhtml_Controller_Action
  17. {
  18.  
  19. public function resetAction() {
  20.  
  21. $id = $this->getRequest()->getParam('id');
  22. $this->loadLayout();
  23. $this->renderLayout();
  24. echo $id;
  25. }
  26.  
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement