mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[examples] comment for massive actions (ref to core 8192 commit)
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@74 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
396028a4af
commit
5d9a90f281
4
hook.php
4
hook.php
@ -234,12 +234,14 @@ function plugin_example_addOrderBy($type,$ID,$order,$key=0){
|
||||
function plugin_example_MassiveActions($type){
|
||||
global $LANG;
|
||||
switch ($type){
|
||||
// New action for core type : name = plugin_PLUGINNAME_actionname
|
||||
// New action for core and other plugin types : name = plugin_PLUGINNAME_actionname
|
||||
case COMPUTER_TYPE :
|
||||
return array(
|
||||
"plugin_example_DoIt"=>"plugin_example_DoIt",
|
||||
);
|
||||
break;
|
||||
|
||||
// Actions for types provided by the plugin
|
||||
case PLUGIN_EXAMPLE_TYPE :
|
||||
return array(
|
||||
// GLPI core one
|
||||
|
Loading…
x
Reference in New Issue
Block a user