Hi all,
I post you my problem in OO.
I wrote a class that must get two parameters and I use it like this :
$my_object->method(par1,par2);
and this works well.
Just the following line of code, I reuse the same method with one different parameter :
$my_object->method(par1,par3);
but only the first call produces the correct result.
The method uses a class property that is calculated once before, calling a previous method of the class. Can it be that this property expires as it is has been used once ??
Thank you in adv
Robert