[ 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_messages 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\Layout\LayoutHelper; 15 16 $displayData = [ 17 'textPrefix' => 'COM_MESSAGES', 18 'formURL' => 'index.php?option=com_messages&view=messages', 19 'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help40:Private_Messages', 20 'icon' => 'icon-envelope inbox', 21 ]; 22 23 if ( 24 Factory::getApplication()->getIdentity()->authorise('core.create', 'com_messages') 25 && Factory::getApplication()->getIdentity()->authorise('core.manage', 'com_users') 26 ) { 27 $displayData['createURL'] = 'index.php?option=com_messages&task=message.add'; 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 |