Dokumenteninfo wird jetzt in DB geschrieben.

This commit is contained in:
Thomas Spohr
2025-07-31 12:22:10 +02:00
parent 9c9d422380
commit 266fd69afb
23 changed files with 278 additions and 115 deletions

BIN
com_eis/src/View/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,32 @@
<?php
namespace EIS\Component\EIS\Administrator\View\Config;
\defined('_JEXEC') or die;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Factory;
class HtmlView extends BaseHtmlView
{
protected $form;
protected $item;
public function display($tpl = null): void
{
$db = Factory::getDbo();
$query = $db->getQuery(true)
->select('*')
->from($db->quoteName('#__eis_settings'))
->setLimit(1);
$db->setQuery($query);
$this->item = $db->loadAssoc();
parent::display($tpl);
}
public function getItem()
{
return $this->item;
}
}