[eluser]PhilTem[/eluser]
I'm not 100% sure to get what you're doing, but I see several things that I've never seen anywhere else before. Try changing your code to
Code:
class Order {
public $CreationDate;
public $ValidationDate;
}
$order = new Order();
$order->CreationDate = new CreationDate();
and so on an so forth for all other methods you want to assign.
Then you should not get these problems (I hope).
Plus: IMHO return value types is not supported in PHP like it is in C/C++ or Java. So things like
Code:
public function int NoAwb() {}
will produce nothing else but errors