CoreFiles by mySites.guru
mod_menu.php28 lines, 872 bytes, from Joomla_3.8.8-Stable-Full_Package.zip
Raw History Compare with 3.8.7
md5
45e47a87041989dff958d241ec1f29ea
sha1
0183f8981e8d19c86aca4a408db31d49525e6fb1
sha256
4b0c2e5dad9c47ede20f542396384b95c0e0208c77fd030ee3b3889fc2087af7
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_menu
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the menu functions only once
JLoader::register('ModMenuHelper', __DIR__ . '/helper.php');

$list       = ModMenuHelper::getList($params);
$base       = ModMenuHelper::getBase($params);
$active     = ModMenuHelper::getActive($params);
$default    = ModMenuHelper::getDefault();
$active_id  = $active->id;
$default_id = $default->id;
$path       = $base->tree;
$showAll    = $params->get('showAllChildren');
$class_sfx  = htmlspecialchars($params->get('class_sfx'), ENT_COMPAT, 'UTF-8');

if (count($list))
{
	require JModuleHelper::getLayoutPath('mod_menu', $params->get('layout', 'default'));
}

The same content is in 14 releases, Joomla 3.8.4-rc to 3.8.10. See them all, or every version of this file.