'iTop Global Requests Management', 'category' => 'business', // Setup // 'dependencies' => [ 'itop-portal-base/3.2.0', ], 'mandatory' => false, 'visible' => true, 'installer' => GlobalRequestInstaller::class, // Components // 'datamodel' => [ 'vendor/autoload.php', ], 'webservice' => [], 'data.struct' => [// add your 'structure' definition XML files here, ], '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 // Default settings // 'settings' => [ 'target_state' => 'new', 'bypass_profiles' => 'Administrator, Service Manager', 'reuse_previous_answers' => true, ], ] ); class GlobalRequestInstaller extends ModuleInstallerAPI { /** * Handler called before creating or upgrading the database schema * * @param $oConfiguration Config The new configuration of the application * @param $sPreviousVersion string Previous version number of the module (empty string in case of first install) * @param $sCurrentVersion string Current version number of the module * * @throws \CoreException * @throws \MySQLException * @throws \MySQLHasGoneAwayException */ public static function AfterDatabaseCreation(Config $oConfiguration, $sPreviousVersion, $sCurrentVersion) { //code } }