[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/modules/mod_wrapper/ -> mod_wrapper.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  mod_wrapper
   6   *
   7   * @copyright   (C) 2005 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\Wrapper\Site\Helper\WrapperHelper;
  15  
  16  $params = WrapperHelper::getParams($params);
  17  
  18  $load        = $params->get('load');
  19  $url         = htmlspecialchars($params->get('url', ''), ENT_COMPAT, 'UTF-8');
  20  $target      = htmlspecialchars($params->get('target', ''), ENT_COMPAT, 'UTF-8');
  21  $width       = htmlspecialchars($params->get('width', ''), ENT_COMPAT, 'UTF-8');
  22  $height      = htmlspecialchars($params->get('height', ''), ENT_COMPAT, 'UTF-8');
  23  $ititle      = $module->title;
  24  $id          = $module->id;
  25  $lazyloading = $params->get('lazyloading', 'lazy');
  26  
  27  require ModuleHelper::getLayoutPath('mod_wrapper', $params->get('layout', 'default'));


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