src/Controller/IndexController.php
public function footerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        $moduleSvc       =  $this->getServiceLocator()->get('ModulesService');
        $coreTool        =  $this->getServiceLocator()->get('MelisCoreTool');
        $modules         =  $moduleSvc->getAllModules();
        $platformVersion =  $moduleSvc->getModulesAndVersions('MelisCore');

        $request = $this->getRequest();
        $uri     = $request->getUri();

        $domain        = $uri->getHost();
        $scheme        = $uri->getScheme();
        $netConnection = $coreTool->isConnected();

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->platformVersion = $platformVersion['version'];
        $view->modules = serialize($modules);
        $view->scheme  = $scheme;
        $view->domain  = $domain;
        $view->netConn = $netConnection;
        return $view;
    }
public function footerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        $moduleSvc       =  $this->getServiceLocator()->get('ModulesService');
        $coreTool        =  $this->getServiceLocator()->get('MelisCoreTool');
        $modules         =  $moduleSvc->getAllModules();
        $platformVersion =  $moduleSvc->getModulesAndVersions('MelisCore');

        $request = $this->getRequest();
        $uri     = $request->getUri();

        $domain        = $uri->getHost();
        $scheme        = $uri->getScheme();
        $netConnection = $coreTool->isConnected();

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->platformVersion = $platformVersion['version'];
        $view->modules = serialize($modules);
        $view->scheme  = $scheme;
        $view->domain  = $domain;
        $view->netConn = $netConnection;
        return $view;
    }
public function footerAction ( ) { $ melisKey = $ this -> params ( ) -> fromRoute ( 'melisKey' , '' ) ; $ moduleSvc = $ this -> getServiceLocator ( ) -> get ( 'ModulesService' ) ; $ coreTool = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreTool' ) ; $ modules = $ moduleSvc -> getAllModules ( ) ; $ platformVersion = $ moduleSvc -> getModulesAndVersions ( 'MelisCore' ) ; $ request = $ this -> getRequest ( ) ; $ uri = $ request -> getUri ( ) ; $ domain = $ uri -> getHost ( ) ; $ scheme = $ uri -> getScheme ( ) ; $ netConnection = $ coreTool -> isConnected ( ) ; $ view = new ViewModel ( ) ; $ view -> melisKey = $ melisKey ; $ view -> platformVersion = $ platformVersion [ 'version' ] ; $ view -> modules = serialize ( $ modules ) ; $ view -> scheme = $ scheme ; $ view -> domain = $ domain ; $ view -> netConn = $ netConnection ; return $ view ; }
Shows the footer of the Melis Platform interface

@return \Zend\View\Model\ViewModel
Shows the footer of the Melis Platform interface