芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/administrator/components/com_finder/src/View/Statistics/HtmlView.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Finder\Administrator\View\Statistics; \defined('_JEXEC') or die; use Joomla\CMS\MVC\View\GenericDataException; use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView; /** * Statistics view class for Finder. * * @since 2.5 */ class HtmlView extends BaseHtmlView { /** * The index statistics * * @var \JObject * * @since 3.6.1 */ protected $data; /** * Method to display the view. * * @param string $tpl A template file to load. [optional] * * @return void * * @since 2.5 */ public function display($tpl = null) { // Load the view data. $this->data = $this->get('Data'); // Check for errors. if (count($errors = $this->get('Errors'))) { throw new GenericDataException(implode("\n", $errors), 500); } parent::display($tpl); } }