芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/modules.7/mod_related_items/mod_related_items.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Helper\ModuleHelper; use Joomla\Module\RelatedItems\Site\Helper\RelatedItemsHelper; $cacheparams = new \stdClass; $cacheparams->cachemode = 'safeuri'; $cacheparams->class = RelatedItemsHelper::class; $cacheparams->method = 'getList'; $cacheparams->methodparams = $params; $cacheparams->modeparams = array('id' => 'int', 'Itemid' => 'int'); $list = ModuleHelper::moduleCache($module, $params, $cacheparams); if (!count($list)) { return; } $showDate = $params->get('showDate', 0); require ModuleHelper::getLayoutPath('mod_related_items', $params->get('layout', 'default'));