Mage_Adminhtml_Block_Sales_Order_Create_Search Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Create_Search:

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 ()
 getHeaderCssClass ()


Detailed Description

Definition at line 35 of file Search.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 Search.php.

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


Member Function Documentation

getButtonsHtml (  ) 

Definition at line 49 of file Search.php.

00050     {
00051         $addButtonData = array(
00052             'label' => Mage::helper('sales')->__('Add Selected Product(s) to Order'),
00053             'onclick' => 'order.productGridAddSelected()',
00054             'class' => 'add',
00055         );
00056         return $this->getLayout()->createBlock('adminhtml/widget_button')->setData($addButtonData)->toHtml();
00057     }

getHeaderCssClass (  ) 

Definition at line 59 of file Search.php.

00060     {
00061         return 'head-catalog-product';
00062     }

getHeaderText (  ) 

Definition at line 44 of file Search.php.

00045     {
00046         return Mage::helper('sales')->__('Please select products to add');
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