Initial commit

This commit is contained in:
root
2025-12-21 09:59:17 -05:00
committed by Sebastian Krupinski
commit 974d3fe11b
53 changed files with 7555 additions and 0 deletions

65
lib/Module.php Normal file
View File

@@ -0,0 +1,65 @@
<?php
namespace KTXM\ChronoManager;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Chrono Manager Module
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'chrono_manager';
}
public function label(): string
{
return 'Chrono Manager';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Calendar and event management module for Ktrix - provides calendar, task, and journal management functionalities';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'chrono_manager' => [
'label' => 'Access Chrono Manager',
'description' => 'View and access the chrono manager module',
'group' => 'Calendar Management'
],
];
}
public function registerBI(): array {
return [
'handle' => $this->handle(),
'namespace' => 'ChronoManager',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}