protected function _construct() { $this->_controller = 'report_customer_accounts'; $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('New Accounts'); parent::_construct(); $this->_removeButton('add'); }
protected function _construct() { $this->_controller = 'report_customer_orders'; $this->_headerText = $this->helper('Mage_Reports_Helper_Data')->__('Customers by number of orders'); parent::_construct(); $this->_removeButton('add'); }
protected function _construct() { $this->_controller = 'report_customer_totals'; $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Customers by Orders Total'); parent::_construct(); $this->_removeButton('add'); }
/** * Initialize container block settings * */ protected function _construct() { $this->_controller = 'report_product_sold'; $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Products Ordered'); parent::_construct(); $this->_removeButton('add'); }
/** * Initialize grid container and prepare controls */ public function _construct() { parent::_construct(); $this->_blockGroup = 'Mage_Theme'; $this->_controller = 'Adminhtml_System_Design_Theme'; $this->_updateButton('add', 'label', $this->__('Add New Theme')); }
protected function _construct() { $this->_controller = 'report_refresh_statistics'; $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Refresh Statistics'); parent::_construct(); $this->_removeButton('add'); }
/** * Prepare output HTML * * @return string */ protected function _toHtml() { Mage::dispatchEvent('permissions_role_html_before', array('block' => $this)); return parent::_toHtml(); }
/** * Internal constructor. */ protected function _construct() { parent::_construct(); $this->_headerText = $this->__('API Roles'); $this->_updateButton('add', 'label', $this->__('Add New API Role')); }