/** * Internal constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_objectId = 'export_id'; $this->_blockGroup = 'Mage_ImportExport'; $this->_controller = 'adminhtml_export'; }
/** * Internal Constructor. */ protected function _construct() { parent::_construct(); $this->_formScripts[] = "function saveAndContinueEdit(url)" . "{var tagForm = new varienForm('edit_form'); tagForm.submit(url);}"; $this->_addButton('save_and_continue', array('label' => $this->__('Save and Continue Edit'), 'onclick' => "saveAndContinueEdit('" . $this->getSaveAndContinueUrl() . "')", 'class' => 'save'), 100); $this->_updateButton('save', 'label', $this->__('Save API Role')); $this->_updateButton('delete', 'label', $this->__('Delete API Role')); }
/** * Internal constructor. */ protected function _construct() { parent::_construct(); $this->_addButton('save_and_continue', array('label' => $this->__('Save and Continue Edit'), 'class' => 'save', 'data_attribute' => array('mage-init' => array('button' => array('event' => 'saveAndContinueEdit', 'target' => '#edit_form')))), 100); $this->_updateButton('save', 'label', $this->__('Save API User')); $this->_updateButton('save', 'id', 'save_button'); $this->_updateButton('delete', 'label', $this->__('Delete API User')); }
/** * Internal constructor * * @return void */ protected function _construct() { parent::_construct(); $this->removeButton('back')->removeButton('reset')->removeButton('save'); $this->_objectId = 'export_id'; $this->_blockGroup = 'Mage_ImportExport'; $this->_controller = 'adminhtml_export'; }
protected function _construct() { $this->_objectId = 'user_id'; $this->_controller = 'user'; $this->_blockGroup = 'Mage_User'; parent::_construct(); $this->_updateButton('save', 'label', Mage::helper('Mage_User_Helper_Data')->__('Save User')); $this->_updateButton('delete', 'label', Mage::helper('Mage_User_Helper_Data')->__('Delete User')); }