On Wed, Aug 25, 2010 at 10:53 PM, Gonéri Le Bouder <span dir="ltr">&lt;<a href="mailto:goneri@rulezlan.org">goneri@rulezlan.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2010/8/25 taha goulamhoussen &lt;<a href="mailto:taha.goulamhoussen@gmail.com">taha.goulamhoussen@gmail.com</a>&gt;:<br>
<div class="im">&gt;<br>
&gt; On Wed, Aug 25, 2010 at 2:26 PM, taha goulamhoussen<br>
&gt; &lt;<a href="mailto:taha.goulamhoussen@gmail.com">taha.goulamhoussen@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Aug 21, 2010 at 11:02 PM, David DURIEUX &lt;<a href="mailto:d.durieux@siprossii.com">d.durieux@siprossii.com</a>&gt;<br>
&gt;&gt; wrote:<br>
<br>
</div>Hi Taha and David,<br>
<div class="im">&gt;&gt; I began  to develop an solution to fix this problem.<br>
&gt;&gt;<br>
&gt;&gt; In the addsections hook, the user have to send an associative array<br>
&gt;&gt; (section type / id).<br>
&gt;&gt;<br>
&gt;&gt; For example: array(&#39;SOFTWARES&#39; =&gt; array(4, 5, 6, 7),<br>
&gt;<br>
&gt;                                &#39;HARDWARES&#39; =&gt; array(1,2,3,4,5))<br>
&gt;&gt;<br>
&gt;&gt; User have to specify sections Type with their sections name in the configs<br>
&gt;&gt; file.<br>
&gt;<br>
&gt;<br>
&gt;    This will allow to format array from xml file, in order to compare the<br>
&gt; array from xml file with the array from database. This development isn&#39;t<br>
&gt; finalise yet.<br>
</div>I don&#39;t understand what you want to fix with this change. Maybe you can give an<br>
example.<br>
<br>
Cheers </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--<br>
<font color="#888888">     Gonéri Le Bouder</font><br></blockquote><div>Hi,<br>In this way:<br><br>array(&#39;SOFTWARES&#39; =&gt; array(<b>4, 5</b>, 6, 7),<br>       
&#39;HARDWARES&#39; =&gt; array(1,2,3,<b>4,5</b>)) <br><br>We can send same id, in this example 4 and 5. <br>In the info file we will have all the id separated by section type, in this case: SOFTWARES and HARDWARES.<br><br>
Cheers,<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Fusioninventory-devel mailing list<br>
<a href="mailto:Fusioninventory-devel@lists.alioth.debian.org">Fusioninventory-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel</a><br>
</div></div></blockquote></div><br>