There is no rule for hook order. So order is just "random".
I will think to introduce something more predictable than random...

2015-10-05 16:33 GMT+02:00 Christophe Battarel <
christophe.batta...@altairis.fr>:

> Hello,
>
> I have a question since a long time about hooks.
>
> If two modules or more implements the same hook, in which order are they
> executed ?
>
> I've made some tests but the results are not clear; in fact it seems that
> it depends on the order of the module activation ???
>
> Best regards
> Christophe
>
> --
> <small><i>Christophe Battarel<br/>
> Responsable technique Altairis</i><br/>
> +33 (0)9 52 71 70 96</small>
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>



-- 
EMail: e...@destailleur.fr
Web: http://www.destailleur.fr
------------------------------------------------------------------------------------
Google+: https://plus.google.com/+LaurentDestailleur/
Facebook: https://www.facebook.com/Destailleur.Laurent
Twitter: http://www.twitter.com/eldy10
------------------------------------------------------------------------------------
* Dolibarr (Project leader): http://www.dolibarr.org (make a donation for
Dolibarr project via Paypal: cont...@destailleur.fr)
* AWStats (Author) : http://awstats.sourceforge.net (make a donation for
AWStats project via Paypal: cont...@destailleur.fr)
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à