Esempio n. 1
0
 /**
  *
  */
 public function __construct()
 {
     $this->_objectId = 'id';
     $this->_blockGroup = 'payone_core_api_view';
     $this->_controller = 'adminhtml_protocol_api';
     parent::__construct();
     $this->setId('protocol_api_view');
     $this->_removeButton('edit');
 }
Esempio n. 2
0
 /**
  *
  */
 public function __construct()
 {
     $this->_objectId = 'id';
     $this->_blockGroup = 'payone_core_transaction_view';
     $this->_controller = 'adminhtml_transaction';
     $this->_addButton('forward_to_order', array('label' => Mage::helper('payone_core')->__('Go to Order'), 'onclick' => 'setLocation(\'' . $this->getForwardToOrderUrl() . '\')', 'class' => 'go'), 0, 250);
     parent::__construct();
     $this->setId('transaction_view');
     $this->_removeButton('edit');
 }