mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-11 22:58:40 +00:00
# Conflicts: # Draw/Controller.js # Draw/Models/DrawType.enum.js # Draw/Models/Editor.js # Media/Models/UploadFile.php
41 lines
1.0 KiB
PHP
41 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
namespace Modules\Workflow\Admin\Install;
|
|
use phpOMS\DataStorage\Database\DatabasePool;
|
|
|
|
/**
|
|
* Navigation class.
|
|
*
|
|
* @category Modules
|
|
* @package Modules\Admin
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @license OMS License 1.0
|
|
* @link http://orange-management.com
|
|
* @since 1.0.0
|
|
*/
|
|
class Navigation
|
|
{
|
|
public static function install(string $path, DatabasePool $dbPool)
|
|
{
|
|
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
|
|
|
$class = '\\Modules\\Navigation\\Admin\\Installer';
|
|
/** @var $class \Modules\Navigation\Admin\Installer */
|
|
$class::installExternal($dbPool, $navData);
|
|
}
|
|
}
|