|
From: | Florian Henry |
Subject: | Re: [Dolibarr-dev] Facture class |
Date: | Mon, 10 Jun 2013 10:12:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
I think the better things to do is to
pass the user as parameters (and check each call to be sure the
parameters is correctly passed)
It's done like that in all class CRUD method. Global $user should be avoid into class method. Florian HENRY address@hidden +33 6 03 76 48 07 http://www.open-concept.pro Twitter : @_Open_Concept_ Secretaire de l'association DolibarrLe 10/06/2013 09:55, Maxime Kohlhaas a écrit :
|
[Prev in Thread] | Current Thread | [Next in Thread] |