[ 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_news 6 * 7 * @copyright (C) 2006 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 /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ 16 $wa = $app->getDocument()->getWebAssetManager(); 17 $wa->registerAndUseStyle('mod_modules', 'mod_articles_news/template.css'); 18 19 if (empty($list)) { 20 return; 21 } 22 23 ?> 24 <ul class="mod-articlesnews-horizontal newsflash-horiz mod-list"> 25 <?php foreach ($list as $item) : ?> 26 <li itemscope itemtype="https://schema.org/Article"> 27 <?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?> 28 </li> 29 <?php endforeach; ?> 30 </ul>
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 |