CoreFiles by mySites.guru
mod_wrapper.php26 lines, 952 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
ac699c6ac89547ae5857846ff0d5efb2
sha1
99070356f0011e5e39be651a3bc03b01c3ba524f
sha256
309f3959e201345ecaf2241a7c570e354e64b562d903aed0cf58a985a2bf63a5
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_wrapper
 *
 * @copyright   (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\Wrapper\Site\Helper\WrapperHelper;

$params = WrapperHelper::getParams($params);

$load        = $params->get('load');
$url         = htmlspecialchars($params->get('url', ''), ENT_COMPAT, 'UTF-8');
$target      = htmlspecialchars($params->get('target', ''), ENT_COMPAT, 'UTF-8');
$width       = htmlspecialchars($params->get('width', ''), ENT_COMPAT, 'UTF-8');
$height      = htmlspecialchars($params->get('height', ''), ENT_COMPAT, 'UTF-8');
$ititle      = $module->title;
$id          = $module->id;
$lazyloading = $params->get('lazyloading', 'lazy');

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

The same content is in 20 releases, Joomla 4.1.0-rc2 to 4.2.0-beta2. See them all, or every version of this file.