OK
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace EIS\Component\EIS\Administrator\View\Main;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
use Joomla\CMS\Factory;
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||
use EIS\Component\EIS\Administrator\Helper\TreeHelper;
|
||||
|
||||
class HtmlView extends BaseHtmlView
|
||||
{
|
||||
public function display($tpl = null): void
|
||||
{
|
||||
echo "<h2>Willkommen bei EIS</h2>";
|
||||
$this->data = Factory::getApplication()->getUserState('com_eis.pdfdata');
|
||||
// Baumdaten laden und fürs Template bereitstellen
|
||||
$items = TreeHelper::getItems();
|
||||
$this->treeHtml = TreeHelper::renderTree($items);
|
||||
|
||||
parent::display($tpl);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user