Public Member Functions | |
__construct () |
Definition at line 35 of file Detail.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 Mage_Adminhtml_Block_Widget_Grid_Container.
Definition at line 38 of file Detail.php.
00039 { 00040 $this->_controller = 'report_review_detail'; 00041 00042 $product = Mage::getModel('catalog/product')->load($this->getRequest()->getParam('id')); 00043 $this->_headerText = Mage::helper('reports')->__('Reviews for %s', $product->getName()); 00044 00045 parent::__construct(); 00046 $this->_removeButton('add'); 00047 $this->setBackUrl($this->getUrl('*/report_review/product/')); 00048 $this->_addBackButton(); 00049 }