[ 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_installer 6 * 7 * @copyright (C) 2008 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\Component\Installer\Administrator\View\Warnings; 12 13 use Joomla\CMS\Toolbar\ToolbarHelper; 14 use Joomla\Component\Installer\Administrator\View\Installer\HtmlView as InstallerViewDefault; 15 16 // phpcs:disable PSR1.Files.SideEffects 17 \defined('_JEXEC') or die; 18 // phpcs:enable PSR1.Files.SideEffects 19 20 /** 21 * Extension Manager Warning View 22 * 23 * @since 1.6 24 */ 25 class HtmlView extends InstallerViewDefault 26 { 27 /** 28 * Display the view 29 * 30 * @param string $tpl Template 31 * 32 * @return void 33 * 34 * @since 1.6 35 */ 36 public function display($tpl = null) 37 { 38 $this->messages = $this->get('Items'); 39 40 if (!\count($this->messages)) { 41 $this->setLayout('emptystate'); 42 } 43 44 parent::display($tpl); 45 } 46 47 /** 48 * Add the page title and toolbar. 49 * 50 * @return void 51 * 52 * @since 1.6 53 */ 54 protected function addToolbar() 55 { 56 parent::addToolbar(); 57 58 ToolbarHelper::help('Information:_Warnings'); 59 } 60 }
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 |