CoreFiles by mySites.guru
mod_related_items.php31 lines, 955 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
7661d7e0f4dad93a8b1442ad9a06626a
sha1
19038404d9d5b28f0c21e377ed5db0f21474f554
sha256
18749e3b32f27c036222360ce7ce525061888939492cce19e615fbb12470af6e
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_related_items
 *
 * @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;

use Joomla\CMS\Helper\ModuleHelper;

$cacheparams = new \stdClass;
$cacheparams->cachemode    = 'safeuri';
$cacheparams->class        = 'Joomla\Module\RelatedItems\Site\Helper\RelatedItemsHelper';
$cacheparams->method       = 'getList';
$cacheparams->methodparams = $params;
$cacheparams->modeparams   = array('id' => 'int', 'Itemid' => 'int');

$list = ModuleHelper::moduleCache($module, $params, $cacheparams);

if (!count($list))
{
	return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$showDate        = $params->get('showDate', 0);

require ModuleHelper::getLayoutPath('mod_related_items', $params->get('layout', 'default'));

No other release has this exact content. See every version of this file.