N°8514 - CMDB datamodel for electricity (2)

This commit is contained in:
v-dumas
2025-12-17 15:11:24 +01:00
parent 5619a9cb75
commit 7ee95864b3
4 changed files with 112 additions and 115 deletions

View File

@@ -1,4 +1,5 @@
<?php
//
// iTop module definition file
//
@@ -6,7 +7,7 @@
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'itop-power-mgmt/3.3.0',
array(
[
// Identification
//
'label' => 'Extended Power Management for iTop Datacenter Management',
@@ -14,40 +15,37 @@ SetupWebPage::AddModule(
// Setup
//
'dependencies' => array(
'itop-datacenter-mgmt/3.3.0'
),
'dependencies' => [
'itop-datacenter-mgmt/3.3.0',
],
'mandatory' => false,
'visible' => true, // To prevent auto-install but shall not be listed in the install wizard
'auto_select' => 'SetupInfo::ModuleIsSelected("itop-datacenter-mgmt")',
// Components
//
'datamodel' => array(
'model.itop-power-mgmt.php'
),
'webservice' => array(
),
'data.struct' => array(
'datamodel' => [
'model.itop-power-mgmt.php',
],
'webservice' => [
],
'data.struct' => [
// add your 'structure' definition XML files here,
),
'data.sample' => array(
],
'data.sample' => [
// add your sample data XML files here,
),
],
// Documentation
//
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
'doc.more_information' => '', // hyperlink to more information, if any
'doc.more_information' => '', // hyperlink to more information, if any
// Default settings
//
'settings' => array(
'settings' => [
// Module specific settings go here, if any
),
)
],
]
);
?>