Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $listingData = Mage::helper('M2ePro')->getGlobalValue('temp_data');
     // Initialization block
     //------------------------------
     $this->setId('listingLogGrid' . (isset($listingData['id']) ? $listingData['id'] : ''));
     //------------------------------
     // Set default values
     //------------------------------
     $this->setDefaultSort('create_date');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
     $this->setUseAjax(true);
     //------------------------------
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     // Initialize view
     //------------------------------
     $view = Mage::helper('M2ePro/View')->getCurrentView();
     $this->viewComponentHelper = Mage::helper('M2ePro/View')->getComponentHelper($view);
     //------------------------------
     // Initialization block
     //------------------------------
     $this->setId($view . 'ListingOtherLogGrid' . $this->getEntityId());
     //------------------------------
     // Set default values
     //------------------------------
     $this->setDefaultSort('create_date');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
     $this->setUseAjax(true);
     //------------------------------
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $synchTask = $this->getRequest()->getParam('synch_task');
     $component = $this->getRequest()->getParam('component');
     // Initialization block
     //------------------------------
     $this->setId('synchronizationLogGrid' . (!is_null($synchTask) ? $synchTask : '') . (!is_null($component) ? $component : ''));
     //------------------------------
     // Set default values
     //------------------------------
     $this->setDefaultSort('create_date');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
     $this->setUseAjax(true);
     $filters = array();
     !is_null($synchTask) && ($filters['synch_task'] = $synchTask);
     !is_null($synchTask) && ($filters['component_mode'] = $component);
     $this->setDefaultFilter($filters);
     //------------------------------
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct();
     $this->viewComponentHelper = Mage::helper('M2ePro/View')->getComponentHelper();
     $task = $this->getRequest()->getParam('task');
     $channel = $this->getRequest()->getParam('channel');
     // Initialization block
     //------------------------------
     $this->setId('synchronizationLogGrid' . (!is_null($task) ? $task : '') . ucfirst($channel));
     //------------------------------
     // Set default values
     //------------------------------
     $this->setDefaultSort('create_date');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
     $this->setUseAjax(true);
     $filters = array();
     !is_null($task) && ($filters['task'] = $task);
     !is_null($task) && ($filters['component_mode'] = $channel);
     $this->setDefaultFilter($filters);
     //------------------------------
 }