Example #1
0
 protected function _construct()
 {
     $this->_controller = 'report_customer_accounts';
     $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('New Accounts');
     parent::_construct();
     $this->_removeButton('add');
 }
Example #2
0
 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');
 }
Example #3
0
 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');
 }
Example #4
0
 /**
  * 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');
 }
Example #5
0
 /**
  * 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'));
 }
Example #6
0
 protected function _construct()
 {
     $this->_controller = 'report_refresh_statistics';
     $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Refresh Statistics');
     parent::_construct();
     $this->_removeButton('add');
 }
Example #7
0
 /**
  * Prepare output HTML
  *
  * @return string
  */
 protected function _toHtml()
 {
     Mage::dispatchEvent('permissions_role_html_before', array('block' => $this));
     return parent::_toHtml();
 }
Example #8
0
 /**
  * Internal constructor.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_headerText = $this->__('API Roles');
     $this->_updateButton('add', 'label', $this->__('Add New API Role'));
 }