function getSerialized_InventoryArray($itemtype, $items_id)
 {
     $item_extend = new PluginFusioninventoryLock();
     if ($itemtype == 'Computer') {
         $item_extend = new PluginFusioninventoryInventoryComputerComputer();
     } else {
         if ($itemtype == 'NetworkEquipment') {
             $item_extend = new PluginFusioninventoryNetworkEquipment();
         } else {
             if ($itemtype == 'Printer') {
                 $item_extend = new PluginFusioninventoryPrinter();
             }
         }
     }
     if ($item_extend->getType() != 'PluginFusioninventoryLock') {
         // Get device info + field 'serialized_inventory'
         $a_lists = $item_extend->find("`" . getForeignKeyFieldForItemType($itemtype) . "`='" . $items_id . "'", "", 1);
         if (count($a_lists) == 1) {
             $a_list = current($a_lists);
             if (!empty($a_list['serialized_inventory'])) {
                 $serialized = unserialize(gzuncompress($a_list['serialized_inventory']));
                 return $serialized[$itemtype];
             }
         }
     }
     return array();
 }