[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_modules 6 * 7 * @copyright (C) 2021 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\Factory; 14 use Joomla\CMS\Language\Text; 15 use Joomla\CMS\Layout\LayoutHelper; 16 17 $displayData = [ 18 'textPrefix' => 'COM_MODULES', 19 'formURL' => 'index.php?option=com_modules&view=select&client_id=' . $this->clientId, 20 'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Module', 21 'icon' => 'icon-cube module', 22 // Although it is (almost) impossible to get to this page with no created Administrator Modules, we add this for completeness. 23 'title' => Text::_('COM_MODULES_EMPTYSTATE_TITLE_' . ($this->clientId ? 'ADMINISTRATOR' : 'SITE')), 24 ]; 25 26 if (Factory::getApplication()->getIdentity()->authorise('core.create', 'com_modules')) { 27 $displayData['createURL'] = 'index.php?option=com_modules&view=select&client_id=' . $this->clientId; 28 } 29 30 echo LayoutHelper::render('joomla.content.emptystate', $displayData);
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 |