Dokumenteninfo wird jetzt in DB geschrieben.
This commit is contained in:
@@ -6,12 +6,13 @@ defined('_JEXEC') or die;
|
||||
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');
|
||||
// $jsonPath = $params->get('json_path', 'media/com_eis/documents.json');
|
||||
// $confidentialLevel = $params->get('confidential_level');
|
||||
// $privateUserId = $params->get('private_user');
|
||||
|
||||
// Load and parse document tree
|
||||
$items = ModEisAnzeigeHelper::getItems();
|
||||
|
||||
// Load and parse JSON document tree
|
||||
$items = ModEisAnzeigeHelper::getItems($jsonPath);
|
||||
|
||||
// TODO: Apply access filtering
|
||||
// $items = ModEisAnzeigeHelper::filterByAccess($items, $confidentialLevel, $privateUserId);
|
||||
|
||||
Reference in New Issue
Block a user