On Wed, Aug 25, 2010 at 10:53 PM, Gonéri Le Bouder <[email protected]>wrote:
> 2010/8/25 taha goulamhoussen <[email protected]>: > > > > On Wed, Aug 25, 2010 at 2:26 PM, taha goulamhoussen > > <[email protected]> wrote: > >> > >> On Sat, Aug 21, 2010 at 11:02 PM, David DURIEUX < > [email protected]> > >> wrote: > > Hi Taha and David, > >> I began to develop an solution to fix this problem. > >> > >> In the addsections hook, the user have to send an associative array > >> (section type / id). > >> > >> For example: array('SOFTWARES' => array(4, 5, 6, 7), > > > > 'HARDWARES' => array(1,2,3,4,5)) > >> > >> User have to specify sections Type with their sections name in the > configs > >> file. > > > > > > This will allow to format array from xml file, in order to compare the > > array from xml file with the array from database. This development isn't > > finalise yet. > I don't understand what you want to fix with this change. Maybe you can > give an > example. > > Cheers -- > Gonéri Le Bouder > Hi, In this way: array('SOFTWARES' => array(*4, 5*, 6, 7), 'HARDWARES' => array(1,2,3,*4,5*)) We can send same id, in this example 4 and 5. In the info file we will have all the id separated by section type, in this case: SOFTWARES and HARDWARES. Cheers, > > _______________________________________________ > Fusioninventory-devel mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel >
_______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel
