From ca1c86bc04e872f3a34c05d32d87b90fa2bc054e Mon Sep 17 00:00:00 2001 From: wawax Date: Thu, 28 Jan 2010 11:19:10 +0000 Subject: [PATCH] Add notification support example git-svn-id: https://forge.glpi-project.org/svn/example/trunk@130 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.php b/setup.php index 483e3c1..1406e24 100755 --- a/setup.php +++ b/setup.php @@ -44,9 +44,10 @@ function plugin_init_example() { // )); // Params : plugin name - string type - ID - Array of attributes - Plugin::registerClass('PluginExampleDropdown', - array('classname' => 'PluginExampleDropdown', - 'typename' => 'Example Dropdown Type')); + Plugin::registerClass('PluginExampleDropdown'); + + Plugin::registerClass('PluginExampleExample', + array('notificationtemplates_types' => true)); // Display a menu entry ? if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook