public function initContent()
 {
     parent::initToolbar();
     parent::initTabModuleList();
     parent::initPageHeaderToolbar();
     $this->addHeaderToolbarBtn();
     parent::initContent();
     $this->show_page_header_toolbar = (bool) $this->showContentHeader;
     if ($this->title) {
         $this->context->smarty->assign(array('title' => $this->title));
     }
     $vars = array('maintenance_mode' => !(bool) Configuration::get('PS_SHOP_ENABLE'), 'headerTabContent' => $this->headerTabContent, 'content' => '{$content}', 'enableSidebar' => $this->enableSidebar);
     if (!empty($this->helpLink)) {
         $vars['help_link'] = $this->helpLink;
     }
     $this->context->smarty->assign($vars);
 }
 protected function initTabModuleList()
 {
     if (Tools::isSubmit('onboarding_carrier')) {
         parent::initTabModuleList();
         $this->filter_modules_list = $this->tab_modules_list['default_list'] = $this->tab_modules_list['slider_list'];
     }
 }
Exemplo n.º 3
0
 protected function initTabModuleList()
 {
     parent::initTabModuleList();
     $this->filter_modules_list = $this->tab_modules_list['default_list'] = $this->tab_modules_list['slider_list'];
 }