Mage_Adminhtml_Block_Sales_Order Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order:

Mage_Adminhtml_Block_Widget_Grid_Container Mage_Adminhtml_Block_Widget_Container Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getCreateUrl ()


Detailed Description

Definition at line 34 of file Order.php.


Constructor & Destructor Documentation

__construct (  ) 

Constructor

By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Container.

Definition at line 37 of file Order.php.

00038     {
00039         $this->_controller = 'sales_order';
00040         $this->_headerText = Mage::helper('sales')->__('Orders');
00041         $this->_addButtonLabel = Mage::helper('sales')->__('Create New Order');
00042         parent::__construct();
00043         if (!Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/create')) {
00044             $this->_removeButton('add');
00045         }
00046     }


Member Function Documentation

getCreateUrl (  ) 

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Container.

Definition at line 48 of file Order.php.

00049     {
00050         return $this->getUrl('*/sales_order_create/start');
00051     }


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

Generated on Sat Jul 4 17:22:58 2009 for Magento by  doxygen 1.5.8