src/Controller/MelisFlashMessengerController.php
public function headerFlashMessengerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');
        $flashMessenger = $this->getServiceLocator()->get('MelisCoreFlashMessenger');
         
        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->flashMessages = $this->getflashMessageAction();
        
        return $view;
    }
public function headerFlashMessengerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');
        $flashMessenger = $this->getServiceLocator()->get('MelisCoreFlashMessenger');
         
        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->flashMessages = $this->getflashMessageAction();
        
        return $view;
    }
public function headerFlashMessengerAction ( ) { $ melisKey = $ this -> params ( ) -> fromRoute ( 'melisKey' , '' ) ; $ flashMessenger = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreFlashMessenger' ) ; $ view = new ViewModel ( ) ; $ view -> melisKey = $ melisKey ; $ view -> flashMessages = $ this -> getflashMessageAction ( ) ; return $ view ; }
Renders the Flash Messenger view in Melis CMS
@return \Zend\View\Model\ViewModel
Renders the Flash Messenger view in Melis CMS