0
Completed

Notifications: Add method registerMode() in "notification.class.php"

Maykon Douglas 8 years ago updated by glpi 7 years ago 2

In the “notification.class.php” class there is a method called “getModes()” that defines the notification types. It would be interesting enable the inclusion of new types through plugins, as it is currently static. Examples of Use: Plugin for sending notifications of GLPI via Telegram, via Whatsapp, that is, customizable.

Hi,


Check the work in progress on GLPI 9.2 with these plugins skelettons :

- sms : https://github.com/teclib/sms

- irc : https://github.com/teclib/irc

- and this PR :https://github.com/glpi-project/glpi/pull/2207