[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  mod_tags_popular
   6   *
   7   * @copyright   (C) 2013 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  
  15  $cacheparams = new \stdClass();
  16  $cacheparams->cachemode = 'safeuri';
  17  $cacheparams->class = 'Joomla\Module\TagsPopular\Site\Helper\TagsPopularHelper';
  18  $cacheparams->method = 'getList';
  19  $cacheparams->methodparams = $params;
  20  $cacheparams->modeparams = array('id' => 'array', 'Itemid' => 'int');
  21  
  22  $list = ModuleHelper::moduleCache($module, $params, $cacheparams);
  23  
  24  if (!count($list) && !$params->get('no_results_text')) {
  25      return;
  26  }
  27  
  28  $display_count = $params->get('display_count', 0);
  29  
  30  require ModuleHelper::getLayoutPath('mod_tags_popular', $params->get('layout', 'default'));


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