<?php $helperGenerator = $this->helper('MGS\Mmegamenu\Helper\Generator') ?>
<?php $menuId = $this->getMenuId(); ?>
<?php $html = $helperGenerator->getMenuCacheHtml($menuId,'horizontal'); ?>

<?php echo $helperGenerator->filter($html); ?>