/**
  * Display task informations for an object
  *
  * @param $itemtype value item type of object
  * @param $items_id integer id of the object
  *
  * @return nothing
  *
  **/
 function manageTasksByObject($itemtype = '', $items_id = 0)
 {
     // See task runing
     $pfTaskjobstate = new PluginFusioninventoryTaskjobstate();
     $pfTaskjobstate->stateTaskjobItem($items_id, $itemtype, 'running');
     // see tasks finished
     $pfTaskjobstate->stateTaskjobItem($items_id, $itemtype, 'nostarted');
     // see tasks finished
     $pfTaskjobstate->stateTaskjobItem($items_id, $itemtype, 'finished');
 }