erste Lauffähige Fassung

This commit is contained in:
Thomas Spohr
2025-07-29 10:33:26 +02:00
parent af2ebf4ab6
commit a481866b66
26 changed files with 500 additions and 76619 deletions

View File

@@ -0,0 +1,20 @@
<?php
// Prevent direct access
defined('_JEXEC') or die;
// Include the helper class
require_once __DIR__ . '/helper.php';
// Retrieve JSON path and access params
$jsonPath = $params->get('json_path', 'media/com_eis/documents.json');
$confidentialLevel = $params->get('confidential_level');
$privateUserId = $params->get('private_user');
// Load and parse JSON document tree
$items = ModEisAnzeigeHelper::getItems($jsonPath);
// TODO: Apply access filtering
// $items = ModEisAnzeigeHelper::filterByAccess($items, $confidentialLevel, $privateUserId);
// Render module layout
require JModuleHelper::getLayoutPath('mod_eis_anzeige', $params->get('layout', 'default'));