[Fusioninventory-devel] Patchs for libserver php

taha goulamhoussen taha.goulamhoussen at gmail.com
Wed Aug 25 12:26:22 UTC 2010


On Sat, Aug 21, 2010 at 11:02 PM, David DURIEUX <d.durieux at siprossii.com>wrote:

> Always with libserverphp, there is problems :
>
> The hook addsections must return an array with id for each section, but
> for each section we must have only a number (because it is using by a key
> number in an array. So we can't have possibility to have same key
> for 2 sections.
>
> For example, I store in my DB, HARDWARE section in a table and SOFTWARE
> section in an other. And we can have same id. it's a big PROBLEM.
>
>
> Other things works for the moment ;)
>
>
Hi,

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),




I noticed some anomalies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20100825/2f5f8f97/attachment.htm>


More information about the Fusioninventory-devel mailing list