ericferon / glpi-archisw

GLPI plugin for application inventory
GNU General Public License v2.0
8 stars 6 forks source link

List Name of structure appli in FormCreator #21

Closed EC2311 closed 5 years ago

EC2311 commented 5 years ago

Hello

How to populate structureAppli in Formcreator ?

I tryed to add //PluginArchiswSwcomponent::class => PluginArchiswSwcomponent::getTypeName(2)], in showform() function in question.class.php

but it doesn't run

For Database pluging I added PluginDatabasesDatabase::class => PluginDatabasesDatabase::getTypeName(2), and it runs

Thanks Best regards

ericferon commented 5 years ago

I don't know : I'm not using Formcreator. Pay attention, maybe, to the fact that getTypeName(2) will return a string of 2 words separated by a space (i.e, "Apps Structures"). Best regards,