src/Controller/PageHistoricController.php
public function renderPageHistoricTableAction()
    {

        $translator = $this->getServiceLocator()->get('translator');
        $melisKey = $this->params()->fromRoute('melisKey', '');
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
        $melisTool->setMelisToolKey(self::PLUGIN_INDEX, self::TOOL_KEY);
        $columns = $melisTool->getColumns();
        
        $idPage = $this->params()->fromRoute('idPage', $this->params()->fromQuery('idPage', ''));
        
        $container = new Container('meliscore');
        $locale = $container['melis-lang-locale'];
        
        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->tableColumns = $columns;
        $view->getToolDataTableConfig = $melisTool->getDataTableConfiguration('#tableHistoricPageId'.$idPage, true);
        $view->idPage = $idPage;
        $view->tableId = 'tableHistoricPageId'.$idPage;
        
        return $view;
    }
public function renderPageHistoricTableAction()
    {

        $translator = $this->getServiceLocator()->get('translator');
        $melisKey = $this->params()->fromRoute('melisKey', '');
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
        $melisTool->setMelisToolKey(self::PLUGIN_INDEX, self::TOOL_KEY);
        $columns = $melisTool->getColumns();
        
        $idPage = $this->params()->fromRoute('idPage', $this->params()->fromQuery('idPage', ''));
        
        $container = new Container('meliscore');
        $locale = $container['melis-lang-locale'];
        
        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->tableColumns = $columns;
        $view->getToolDataTableConfig = $melisTool->getDataTableConfiguration('#tableHistoricPageId'.$idPage, true);
        $view->idPage = $idPage;
        $view->tableId = 'tableHistoricPageId'.$idPage;
        
        return $view;
    }
Renders the Page Historic table view
@return \Zend\View\Model\ViewModel