mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
No declaration of type if no specific informations to add
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@124 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
d5a3035632
commit
1fc007a429
@ -38,9 +38,10 @@ function plugin_init_example() {
|
|||||||
global $PLUGIN_HOOKS,$LANG,$CFG_GLPI;
|
global $PLUGIN_HOOKS,$LANG,$CFG_GLPI;
|
||||||
|
|
||||||
// Params : plugin name - string type - ID - Array of attributes
|
// Params : plugin name - string type - ID - Array of attributes
|
||||||
Plugin::registerClass('PluginExampleExample',
|
// No specific information passed so not needed
|
||||||
array('classname' => 'PluginExampleExample',
|
//Plugin::registerClass('PluginExampleExample',
|
||||||
));
|
// array('classname' => 'PluginExampleExample',
|
||||||
|
// ));
|
||||||
|
|
||||||
// Params : plugin name - string type - ID - Array of attributes
|
// Params : plugin name - string type - ID - Array of attributes
|
||||||
Plugin::registerClass('PluginExampleDropdown',
|
Plugin::registerClass('PluginExampleDropdown',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user