[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/modules/mod_latestactions/ -> mod_latestactions.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  mod_latestactions
   6   *
   7   * @copyright   (C) 2018 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\LatestActions\Administrator\Helper\LatestActionsHelper;
  15  
  16  // Only super user can view this data
  17  if (!$app->getIdentity()->authorise('core.admin')) {
  18      return;
  19  }
  20  
  21  $list = LatestActionsHelper::getList($params);
  22  
  23  if ($params->get('automatic_title', 0)) {
  24      $module->title = LatestActionsHelper::getTitle($params);
  25  }
  26  
  27  require ModuleHelper::getLayoutPath('mod_latestactions', $params->get('layout', 'default'));


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