mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Add files & declarations for rules engine integration
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@143 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -49,6 +49,10 @@ function plugin_init_example() {
|
||||
Plugin::registerClass('PluginExampleExample',
|
||||
array('notificationtemplates_types' => true));
|
||||
|
||||
//Classes for rulesengine
|
||||
Plugin::registerClass('PluginExampleRuleTest');
|
||||
Plugin::registerClass('PluginExampleRuleTestCollection',array('rulecollections_types'=>true));
|
||||
|
||||
// Display a menu entry ?
|
||||
if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook
|
||||
$PLUGIN_HOOKS['menu_entry']['example'] = 'front/example.php';
|
||||
|
Reference in New Issue
Block a user