mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
clean itemtype definition
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@123 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
cc15e45076
commit
d5a3035632
@ -40,17 +40,12 @@ function plugin_init_example() {
|
||||
// Params : plugin name - string type - ID - Array of attributes
|
||||
Plugin::registerClass('PluginExampleExample',
|
||||
array('classname' => 'PluginExampleExample',
|
||||
'formpage' => 'front/example.form.php',
|
||||
'deleted_tables' => false,
|
||||
'template_tables' => false,
|
||||
'specif_entities_tables' => false,
|
||||
'recursive_type' => false));
|
||||
));
|
||||
|
||||
// Params : plugin name - string type - ID - Array of attributes
|
||||
Plugin::registerClass('PluginExampleDropdown',
|
||||
array('classname' => 'PluginExampleDropdown',
|
||||
'typename' => 'Example Dropdown Type',
|
||||
'formpage' => 'front/dropdown.form.php'));
|
||||
'typename' => 'Example Dropdown Type'));
|
||||
|
||||
// Display a menu entry ?
|
||||
if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user