[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:
remicollet 2009-04-18 14:36:29 +00:00
parent 396028a4af
commit 5d9a90f281

View File

@ -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