displayIcons(false); } self::$asideMenu->setIconType(Theme::getOption('layout', 'aside/menu-icon')); } private static function initHorizontalMenu() { self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); self::$horizontalMenu->setItemLinkClass('py-3'); self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); } private static function initFooter() { if (Theme::getOption('layout', 'footer/width') == 'fluid') { Theme::addHtmlClass('footer-container', 'container-fluid'); } else { Theme::addHtmlClass('footer-container', 'container-xxl'); } } // Public Methods public static function initLayout() { self::initHeader(); self::initPageTitle(); self::initToolbar(); self::initContent(); self::initAside(); self::initFooter(); self::initAsideMenu(); self::initHorizontalMenu(); } public static function getAsideMenu() { return self::$asideMenu; } public static function getHorizontalMenu() { return self::$horizontalMenu; } public static function getBreadcrumb() { $options = array( 'skip-active' => false ); return self::getAsideMenu()->getBreadcrumb($options); } }