Public Member Functions | |
__construct () | |
getHeaderText () | |
getButtonsHtml () | |
getHeaderCssClass () |
Definition at line 35 of file Search.php.
__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 }
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 | ( | ) |
getHeaderText | ( | ) |
Definition at line 44 of file Search.php.
00045 { 00046 return Mage::helper('sales')->__('Please select products to add'); 00047 }