[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Site 5 * @subpackage mod_articles_popular 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\Component\ComponentHelper; 14 use Joomla\CMS\Helper\ModuleHelper; 15 use Joomla\CMS\Language\Text; 16 use Joomla\Module\ArticlesPopular\Site\Helper\ArticlesPopularHelper; 17 18 // Exit early if hits are disabled. 19 if (!ComponentHelper::getParams('com_content')->get('record_hits', 1)) { 20 echo Text::_('JGLOBAL_RECORD_HITS_DISABLED'); 21 22 return; 23 } 24 25 $list = ArticlesPopularHelper::getList($params); 26 27 require ModuleHelper::getLayoutPath('mod_articles_popular', $params->get('layout', 'default'));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |