[ 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_finder 6 * 7 * @copyright (C) 2011 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\Finder\Administrator\View\Statistics; 12 13 use Joomla\CMS\MVC\View\GenericDataException; 14 use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView; 15 16 // phpcs:disable PSR1.Files.SideEffects 17 \defined('_JEXEC') or die; 18 // phpcs:enable PSR1.Files.SideEffects 19 20 /** 21 * Statistics view class for Finder. 22 * 23 * @since 2.5 24 */ 25 class HtmlView extends BaseHtmlView 26 { 27 /** 28 * The index statistics 29 * 30 * @var \Joomla\CMS\Object\CMSObject 31 * 32 * @since 3.6.1 33 */ 34 protected $data; 35 36 /** 37 * Method to display the view. 38 * 39 * @param string $tpl A template file to load. [optional] 40 * 41 * @return void 42 * 43 * @since 2.5 44 */ 45 public function display($tpl = null) 46 { 47 // Load the view data. 48 $this->data = $this->get('Data'); 49 50 // Check for errors. 51 if (count($errors = $this->get('Errors'))) { 52 throw new GenericDataException(implode("\n", $errors), 500); 53 } 54 55 parent::display($tpl); 56 } 57 }
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 |