[ 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_latest 6 * 7 * @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 namespace Joomla\Module\ArticlesLatest\Site\Dispatcher; 12 13 use Joomla\CMS\Dispatcher\AbstractModuleDispatcher; 14 use Joomla\CMS\Helper\HelperFactoryAwareInterface; 15 use Joomla\CMS\Helper\HelperFactoryAwareTrait; 16 17 // phpcs:disable PSR1.Files.SideEffects 18 \defined('JPATH_PLATFORM') or die; 19 // phpcs:enable PSR1.Files.SideEffects 20 21 /** 22 * Dispatcher class for mod_articles_latest 23 * 24 * @since 4.2.0 25 */ 26 class Dispatcher extends AbstractModuleDispatcher implements HelperFactoryAwareInterface 27 { 28 use HelperFactoryAwareTrait; 29 30 /** 31 * Returns the layout data. 32 * 33 * @return array 34 * 35 * @since 4.2.0 36 */ 37 protected function getLayoutData() 38 { 39 $data = parent::getLayoutData(); 40 41 $data['list'] = $this->getHelperFactory()->getHelper('ArticlesLatestHelper')->getArticles($data['params'], $this->getApplication()); 42 43 return $data; 44 } 45 }
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 |