public function retrieveCalendarEventsAction(){
        $calendarTable = $this->getServiceLocator()->get('MelisCalendarTable');
        $result = $calendarTable->retrieveCalendarEvents();
        return new JsonModel($result->toArray());
    }
public function retrieveCalendarEventsAction(){
        $calendarTable = $this->getServiceLocator()->get('MelisCalendarTable');
        $result = $calendarTable->retrieveCalendarEvents();
        return new JsonModel($result->toArray());
    }
public function retrieveCalendarEventsAction ( ) { $ calendarTable = $ this -> getServiceLocator ( ) -> get ( 'MelisCalendarTable' ) ; $ result = $ calendarTable -> retrieveCalendarEvents ( ) ; return new JsonModel ( $ result -> toArray ( ) ) ; }
Retrieve Calendar Event to initialize calender ui

@return \Zend\View\Model\JsonModel
Retrieve Calendar Event to initialize calender ui