mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[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:
parent
be0cdb1782
commit
80ed2a2b01
@ -112,8 +112,8 @@ function plugin_init_example() {
|
|||||||
$PLUGIN_HOOKS['reports']['example'] = array('report.php'=>'New Report', 'report.php?other'=>'New Report 2',);
|
$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
|
// 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");
|
pluginNewType('example',"PLUGIN_EXAMPLE_TYPE",1001,"pluginExample","glpi_plugin_example","example.form.php","Example Type");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user