[example] Add new type name

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@45 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2008-04-20 20:30:29 +00:00
parent be0cdb1782
commit 80ed2a2b01

View File

@ -112,8 +112,8 @@ function plugin_init_example() {
$PLUGIN_HOOKS['reports']['example'] = array('report.php'=>'New Report', 'report.php?other'=>'New Report 2',);
// Params : plugin name - string type - ID - class - table - form page
pluginNewType('example',"PLUGIN_EXAMPLE_TYPE",1001,"pluginExample","glpi_plugin_example","example.form.php");
// Params : plugin name - string type - ID - class - table - form page - Type name
pluginNewType('example',"PLUGIN_EXAMPLE_TYPE",1001,"pluginExample","glpi_plugin_example","example.form.php","Example Type");
}