Public Member Functions | |
__construct () | |
getHeaderText () | |
getItems () | |
getButtonsHtml () | |
Protected Member Functions | |
_toHtml () |
Definition at line 35 of file Items.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 37 of file Items.php.
00038 { 00039 parent::__construct(); 00040 $this->setId('sales_order_create_items'); 00041 }
_toHtml | ( | ) | [protected] |
Render block HTML
Reimplemented from Mage_Core_Block_Template.
Definition at line 64 of file Items.php.
00065 { 00066 if ($this->getStoreId()) { 00067 return parent::_toHtml(); 00068 } 00069 return ''; 00070 }
getButtonsHtml | ( | ) |
Definition at line 54 of file Items.php.
00055 { 00056 $addButtonData = array( 00057 'label' => Mage::helper('sales')->__('Add Products'), 00058 'onclick' => "order.productGridShow(this)", 00059 'class' => 'add', 00060 ); 00061 return $this->getLayout()->createBlock('adminhtml/widget_button')->setData($addButtonData)->toHtml(); 00062 }
getHeaderText | ( | ) |
Definition at line 43 of file Items.php.
00044 { 00045 return Mage::helper('sales')->__('Items Ordered'); 00046 }
getItems | ( | ) |