[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/modules/mod_menu/ -> mod_menu.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  mod_menu
   6   *
   7   * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Helper\ModuleHelper;
  14  use Joomla\Module\Menu\Administrator\Menu\CssMenu;
  15  
  16  $enabled = !$app->input->getBool('hidemainmenu');
  17  
  18  $menu = new CssMenu($app);
  19  $root = $menu->load($params, $enabled);
  20  $root->level = 0;
  21  
  22  // Render the module layout
  23  require ModuleHelper::getLayoutPath('mod_menu', $params->get('layout', 'default'));


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer