Mage_Adminhtml_Block_Sales_Order_Create_Customer Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Create_Customer:

Mage_Adminhtml_Block_Sales_Order_Create_Abstract Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getHeaderText ()
 getButtonsHtml ()


Detailed Description

Definition at line 35 of file Customer.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 Varien_Object.

Definition at line 38 of file Customer.php.

00039     {
00040         parent::__construct();
00041         $this->setId('sales_order_create_customer');
00042     }


Member Function Documentation

getButtonsHtml (  ) 

Definition at line 49 of file Customer.php.

00050     {
00051         $addButtonData = array(
00052             'label'     => Mage::helper('sales')->__('Create New Customer'),
00053             'onclick'   => 'order.setCustomerId(false)',
00054             'class'     => 'add',
00055         );
00056         return $this->getLayout()->createBlock('adminhtml/widget_button')->setData($addButtonData)->toHtml();
00057     }

getHeaderText (  ) 

Definition at line 44 of file Customer.php.

00045     {
00046         return Mage::helper('sales')->__('Please select a customer');
00047     }


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

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